发生以下错误:
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ReflectionWorld$ReflectionWorldException
解决办法:
下载jar包:aspectjweaver.jar
万恶的spring啊,竟然没有集成,事务管理必备的jar包。
发生以下错误:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service' defined in class path resource [beans.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.
解决办法:
导入jar包:\spring-framework-2.5.6-with-dependencies\spring-framework-2.5.6\lib\cglib中的
cglib-nodep-2.1_3.jar包
ps:写于2010-05-09 21:35