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

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">

上一篇:php分享十八:网页抓取


下一篇:uboot命令及内核启动参数