1. ClassCastException: org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to
org.apache.AnnotationProcessor
解决方法:修改Tomcat配置文件:context.xml,增加:<Loader delegate="true" />
<Context>
<Loader delegate="true" />
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
......
</Context>
2.