java.lang.ClassNotFoundException: org.aopalliance.aop.Advice?
baibai 提问于:2017-06-19
1 0

tomcat启动:

ERROR - Context initialization failed
java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2483)
at java.lang.Class.getDeclaredConstructors(Class.java:1891)
  • 所有回答
exception 回答于:2017-07-03
1 0

maven添加:

<dependency>
    <groupId>aopalliance</groupId>
    <artifactId>aopalliance</artifactId>
    <version>1.0</version>
</dependency>
我来回答    java.lang.ClassNotFoundException: org.aopalliance.aop.Advice?