數(shù)據(jù)加載中……
          Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang...
          尚學(xué)堂的視頻spring第一個(gè)AOP實(shí)例中就出現(xiàn)問題
          Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java.lang...
          網(wǎng)上看了學(xué)的,才知道是aspectj出現(xiàn)的問題,其實(shí)也是spring framework 與jdk6.0不兼容的問題,如果換成jdk5.0就好了,但是已經(jīng)習(xí)慣新的jdk6.0了,于是只能升級(jí)一下spring framework了,換了spring相關(guān)的所有jar包,問題就解決的了(下載新的spring-framework-with-dependencies:下載地址:http://sourceforge.net/projects/springframework/files/springframework-2/2.0.8/spring-framework-2.0.8-with-dependencies.zip/download)

          posted on 2010-03-03 16:02 mingruofei 閱讀(7131) 評(píng)論(1)  編輯  收藏

          評(píng)論

          # re: Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManager' defined in class path resource [applicationContext.xml]: Initialization of bean failed; nested exception is java. 2012-08-31 16:16 哈哈

          有用,問題解決了

          只有注冊用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 如东县| 安平县| 大悟县| 桐梓县| 萍乡市| 琼结县| 宜阳县| 宜川县| 宣武区| 磐安县| 镇康县| 莎车县| 石河子市| 深泽县| 运城市| 安徽省| 浠水县| 德清县| 准格尔旗| 壶关县| 改则县| 双流县| 金门县| 徐水县| 南岸区| 靖安县| 彩票| 湛江市| 阳高县| 日喀则市| 长岛县| 九寨沟县| 宁安市| 江源县| 巩义市| 留坝县| 南宫市| 启东市| 界首市| 湖南省| 太康县|