开挂人生。 2017-03-10 14:07 采纳率: 100%
浏览 962

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

  • 写回答

1条回答 默认 最新

  • devmiao 2017-03-10 15:29
    关注
    评论

报告相同问题?