SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in class path resource [applicationContext.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.
查了说是没有导入cglib-1.2.1.jar包,但我项目是maven的吗,配置到pom.xml文件后
cglib
cglib
1.2.1
在dependency左边出现个大红×,我以为是版本问题,改为1.3,不打×了,但是tomcat重启还是报同个错误,哪位大神能帮帮我!
ssh整合配置applicationContext.xml报错
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-