首页 > 代码库 > java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException

java.lang.reflect.InvocationTargetException是什么情况?
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:303)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:431)
运行tomcat时出现的

解决办法:antlr-2.7.6.jar 的问题   版本问题或者冲突

java.lang.reflect.InvocationTargetException