1.Stacktraces
Unable to instantiate Action,xxAction, defined for 'xxAction_login' in namespace '/'null com.opensymphony.xwork2.DefaultActionInvocation.createAction(DefaultActionInvocation.java:316)
java.lang.IllegalArgumentException org.springframework.asm.ClassReader.(Unknown Source)
2.solution
2.1 升級到Spring 4,參考
(https://stackoverflow.com/questions/31064967/java-lang-illegalargumentexception-at-org-springframework-asm-classreader-init)
Try to upgrade to Spring 4 to support Java 8 byte code format. Your root cause here: java.lang.IllegalArgumentException org.springframework.asm.ClassReader.(Unknown Source) org.springframework.asm.ClassReader.(Unknown Source) org.springframework.asm.ClassReader.(Unknown Source)
2.2 不升級到spring 4的話 那就降級JDK到1.7,在Intellij IDEA中可以設置: