开发者社区 问答 正文

jFinal+spring报错?报错

@JFinal 您好,想跟你请教个问题:jFinal整合spring启动的时候 不报错   就是访问controller的时候报错:信息如下;

Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'txAdvice' must be of type [org.aopalliance.aop.Advice], but was actually of type [org.springframework.transaction.interceptor.TransactionInterceptor]

http://www.oschina.net/p/spring-jfinal   我完全按照这个教程来的 

展开
收起
爱吃鱼的程序员 2020-06-09 14:13:56 566 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    spring版本是多少

    aopalliancejar有没

    @xiongfuan谢谢我的demo目前在家里面我回去给你发一份回复 @李永china:你能发给我你现在的demo?回复 @李永china:换个3版本试试,有版本是最新的4.2.6 https://git.oschina.net/Bitter/jfinal-plus/blob/master/jfinal-plus-spring/README.md 用这个吧,耦合性小。回复 @李永china:能用就行很感谢你的回答我用了您的ioc功能这个可以用
    2020-06-09 14:14:15
    赞同 展开评论