bjxdyl1995
bjxdyl1995
采纳率0%
2017-03-10 14:07 阅读 953

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条回答 默认 最新

相关推荐