码迷,mamicode.com
首页 > 其他好文 > 详细

The content of element type "beans" must match "(description?,(import|alias|bean)*)

时间:2014-07-09 16:13:51      阅读:1224      评论:0      收藏:0      [点我收藏+]

标签:des   http   问题   io   div   type   

The content of element type "beans" must match "(description?,(import|alias|bean)*)
-------------------------------------------------
解决方案:
版本问题,xml修改成这样就可以了,亲测

<?xml version="1.0" encoding="UTF-8" ?>

 <!--
 必须配置一下属性productName,productCode,price,stockQty,buyCount
-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd" default-lazy-init="true">

The content of element type "beans" must match "(description?,(import|alias|bean)*),布布扣,bubuko.com

The content of element type "beans" must match "(description?,(import|alias|bean)*)

标签:des   http   问题   io   div   type   

原文地址:http://www.cnblogs.com/bluewelkin/p/3832112.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!