Description Resource Path Location Type cvc-complex-type.2.4

xiaoxiao2021-02-27  584

这是编写的applicationConext.xml : <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd"> <bean id="dao" class="org.gestion.bp.dao.BanqueDaoImp"></bean> <bean id="metier" class="org.gestion.bp.metier.BanqueMetierImp"></bean> <property name="dao" ref="dao"></property> </beans>

错误的地方:

<bean id="metier" class="org.gestion.bp.metier.BanqueMetierImp"></bean> <property name="dao" ref="dao"></property> </beans> 应修改为:

<bean id="metier" class="org.gestion.bp.metier.BanqueMetierImp"> <property name="dao" ref="dao"></property> </bean> </beans>

转载请注明原文地址: https://www.6miu.com/read-730.html

最新回复(0)