ssh整合配置applicationContext.xml报错

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重启还是报同个错误,哪位大神能帮帮我!

0

1个回答

1
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!