第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

cvc-complex-type.2.4.d: Invalid content was found starting with element 'ref'. No child element is expected at this point.

xml文件錯(cuò)誤,

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
?? ?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
?? ?xmlns:context="http://www.springframework.org/schema/context"
?? ?xmlns:aop="http://www.springframework.org/schema/aop"
?? ?xsi:schemaLocation="http://www.springframework.org/schema/beans
??????? http://www.springframework.org/schema/beans/spring-beans.xsd ?
??????? http://www.springframework.org/schema/context
??????? http://www.springframework.org/schema/context/spring-context.xsd
??????? http://www.springframework.org/schema/aop
???????

??? <bean id="bizLogicImplTarget" class="com.learn.aop.api.BizLogicImpl"></bean>
?? ?<bean id="bizLogicImpl" class="org.springframework.aop.framework.ProxyFactoryBean">
?? ??? ?<property name="proxyInterfaces">
?? ??? ??? ?<value>com.learn.aop.api.BizLogic</value>
?? ??? ?</property>
?? ??? ?<property name="target">
?? ??? ??? ?<bean class="com.learn.aop.api.BizLogicImpl"></bean>
?? ??? ??? ?<ref bean="bizLogicImplTarget" />
?? ??? ?</property>
?? ??? ?<property name="interceptorNames">
?? ??? ??? ?<list>
?? ??? ??? ??? ?<value>moocBeforeAdvice</value>
?? ??? ??? ??? ?<value>moocAfterReturningAdvice</value>
?? ??? ??? ??? ?<value>moocMethodInterceptor</value>
?? ??? ??? ??? ?<value>moocThrowsAdvice</value>
?? ??? ??? ??? ?<value>mooc*</value>
?? ??? ??? ?</list>
?? ??? ?</property>
?? ?</bean>

</beans>

正在回答

2 回答

說(shuō)錯(cuò)了

兩個(gè)bean應(yīng)該裝到<list></list>里


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

<beans xmlns="http://www.springframework.org/schema/beans"

? ? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?

? ? xmlns:context="http://www.springframework.org/schema/context"

? ? xmlns:aop="http://www.springframework.org/schema/aop"

? ? xsi:schemaLocation="http://www.springframework.org/schema/beans?

? ? ? ? http://www.springframework.org/schema/beans/spring-beans.xsd ?

? ? ? ? http://www.springframework.org/schema/context

? ? ? ? http://www.springframework.org/schema/context/spring-context.xsd

? ? ? ? http://www.springframework.org/schema/aop?

? ? ? ? http://www.springframework.org/schema/aop/spring-aop.xsd">

? ? <bean id="bizLogicImplTarget" class="com.learn.aop.api.BizLogicImpl"></bean>

? ? <bean id="bizLogicImpl" class="org.springframework.aop.framework.ProxyFactoryBean">

? ? ? ? <property name="proxyInterfaces">

? ? ? ? ? ? <value>com.learn.aop.api.BizLogic</value>

? ? ? ? </property>

? ? ? ? <property name="target">

? ? ? ? ? ? <bean class="com.learn.aop.api.BizLogicImpl"></bean>

? ? ? ? ? ? <ref bean="bizLogicImplTarget"></ref>

? ? ? ? </property>

? ? ? ? <property name="interceptorNames">

? ? ? ? ? ? <list>

? ? ? ? ? ? ? ? <value>moocBeforeAdvice</value>

? ? ? ? ? ? ? ? <value>moocAfterReturningAdvice</value>

? ? ? ? ? ? ? ? <value>moocMethodInterceptor</value>

? ? ? ? ? ? ? ? <value>moocThrowsAdvice</value>

? ? ? ? ? ? ? ? <value>mooc*</value>

? ? ? ? ? ? </list>

? ? ? ? </property>

? ? </bean>


</beans>


0 回復(fù) 有任何疑惑可以回復(fù)我~

<ref bean="bizLogicImplTarget" />是屬性

改為


<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
?? ?xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?
?? ?xmlns:context="http://www.springframework.org/schema/context"
?? ?xmlns:aop="http://www.springframework.org/schema/aop"
?? ?xsi:schemaLocation="http://www.springframework.org/schema/beans?
??????? http://www.springframework.org/schema/beans/spring-beans.xsd ?
??????? http://www.springframework.org/schema/context
??????? http://www.springframework.org/schema/context/spring-context.xsd
??????? http://www.springframework.org/schema/aop?
????????http://www.springframework.org/schema/aop/spring-aop.xsd">

??? <bean id="bizLogicImplTarget" class="com.learn.aop.api.BizLogicImpl"></bean>
?? ?<bean id="bizLogicImpl" class="org.springframework.aop.framework.ProxyFactoryBean">
?? ??? ?<property name="proxyInterfaces">
?? ??? ??? ?<value>com.learn.aop.api.BizLogic</value>
?? ??? ?</property>
?? ??? ?<property name="target" ref="bizLogicImplTarget">
?? ??? ??? ?<bean class="com.learn.aop.api.BizLogicImpl"></bean>
?? ??? ?</property>
?? ??? ?<property name="interceptorNames">
?? ??? ??? ?<list>
?? ??? ??? ??? ?<value>moocBeforeAdvice</value>
?? ??? ??? ??? ?<value>moocAfterReturningAdvice</value>
?? ??? ??? ??? ?<value>moocMethodInterceptor</value>
?? ??? ??? ??? ?<value>moocThrowsAdvice</value>
?? ??? ??? ??? ?<value>mooc*</value>
?? ??? ??? ?</list>
?? ??? ?</property>
?? ?</bean>

</beans>


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

cvc-complex-type.2.4.d: Invalid content was found starting with element 'ref'. No child element is expected at this point.

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)