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)
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) 編輯 收藏