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

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

異常不能解決 ,求助!!

異常不能解決 ,求助!!

qq_愿有智慧_03738976 2016-09-16 20:48:35
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moocAspect' defined in class path resource [spring-aop.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.aspectj.AspectJPointcutAdvisor#0': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.aop.aspectj.AspectJPointcutAdvisor]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: Pointcut is not well-formed: expecting ')' at character position 11excution(* com.imooc.my.AspectBiz.*(..))
查看完整描述

5 回答

已采納
?
星際怪物

TA貢獻31條經(jīng)驗 獲得超10個贊

這不告訴你了嗎,excution(* com.imooc.my.AspectBiz.*(..)) 切入點正則表達式有誤

查看完整回答
反對 回復 2016-09-17
?
梵天001

TA貢獻23條經(jīng)驗 獲得超5個贊

親,是由于你缺了aspectj.jar包哦。

查看完整回答
2 反對 回復 2017-01-10
?
馱著陽光的希望

TA貢獻1條經(jīng)驗 獲得超0個贊

因為沒有jar包解析execute里面的表達式所以報錯誤

查看完整回答
反對 回復 2017-06-21
?
qq_愿有智慧_03738976

TA貢獻2條經(jīng)驗 獲得超0個贊


使用<aop:before method="before" pointcut-ref="moocPointcut" />報錯!注釋了就不報錯

查看完整回答
反對 回復 2016-09-16
?
大咪

TA貢獻785條經(jīng)驗 獲得超332個贊

<p dir="ltr">.AspectJPointcutAdvisor#0':這個是你自己創(chuàng)建的類嗎,代碼上來看看</p>
查看完整回答
反對 回復 2016-09-16
  • qq_愿有智慧_03738976
    qq_愿有智慧_03738976
    <p dir="ltr">.AspectJPointcutAdvisor#0'這不是我建的類, 我使用<aop:before method="before" pointcut-ref="moocPointcut" />就報錯,注釋了就不報錯!
  • qq_愿有智慧_03738976
    qq_愿有智慧_03738976
    <?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: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/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd "> <bean id="moocAspect" class="com.imooc.my.MoocAspect"></bean> <bean id="aspectBiz" class="com.mooc.aop.AspectBiz"></bean> <aop:config> <aop:aspect id="moocAspectAop" ref="moocAspect"> <aop:pointcut expression="excution(* com.mooc.aop.AspectBiz.*(..))" id="moocPointcut" /> <aop:before method="before" pointcut-ref="moocPointcut" /> </aop:aspect> </aop:config> </beans> package com.imooc.my; public class MoocAspect { public void before(){ System.out.println("MoocAspect before"); } package com.mooc.aop; public class AspectBiz { public void aopMethod(){ System.out.println("AspectBiz aopMethod"); } } }
  • 5 回答
  • 0 關注
  • 7253 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號