首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor

ClassNotFoundException: org.aopalliance.intercept.MethodInterceptor
EN

Stack Overflow用户
提问于 2012-09-02 11:48:35
回答 1查看 1.9K关注 0票数 0

我正在使用Tomcat7开发Hibernate3 Spring3项目启动器,

我正在努力解决这个ClassNotFoundException - of aopalliance拦截器Jar (这是AspectJ吗??)

尽管Jar存在于class-path中,但它仍然存在。

我在maven中不理解的是,我在哪里使用这个Jar -谁依赖于这个Jar?

代码语言:javascript
复制
[INFO] +- org.hibernate:hibernate-core:jar:3.3.2.GA:compile
[INFO] |  +- antlr:antlr:jar:2.7.6:compile
[INFO] |  +- javax.transaction:jta:jar:1.1:compile
[INFO] |  \- org.slf4j:slf4j-api:jar:1.5.8:compile
[INFO] +- org.hibernate:hibernate-entitymanager:jar:3.3.2.GA:compile
[INFO] |  +- org.hibernate:hibernate:jar:3.2.6.ga:compile
[INFO] |  |  +- net.sf.ehcache:ehcache:jar:1.2.3:compile
[INFO] |  |  \- asm:asm-attrs:jar:1.5.3:compile
[INFO] |  +- org.hibernate:hibernate-annotations:jar:3.3.1.GA:compile
[INFO] |  +- org.hibernate:hibernate-commons-annotations:jar:3.0.0.ga:compile
[INFO] |  +- org.hibernate:ejb3-persistence:jar:1.0.1.GA:compile
[INFO] |  \- javassist:javassist:jar:3.4.GA:compile
[INFO] +- junit:junit:jar:4.8.1:test
[INFO] +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] |  \- org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] +- javax.servlet:servlet-api:jar:2.4:compile

下面是有问题的jar:

代码语言:javascript
复制
[INFO] +- aopalliance:aopalliance:jar:1.0:compile


[INFO] +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-orm:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-test:jar:3.0.5.RELEASE:test
[INFO] +- org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile
...
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-09-02 16:01:46

依赖这个Jar的

是谁?

Spring框架需要它来实现Spring AOP。独立AspectJ不需要它。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/12233267

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档