我正在尝试运行一个官方的春季示例gt-rest-service并且总是出错。
2015-07-11 23:38:11.058 INFO 3833 --- [lication.main()] s.b.c.e.t.TomcatEmbeddedServletContainer:初始化为Tomcat port(s):8080(http)2015-07-11 23:38:11.376 INFO 3833 --- [lication.main()] o.apache.catalina.core.StandardService:开始 服务Tomcat 2015-07-11 23:38:11.385 INFO 3833 --- [lication.main()] org.apache.catalina.core.StandardEngine:开始 Servlet引擎:Apache Tomcat / 8.0.23 2015-07-11 23:38:11.551 INFO 3833 --- [ost-startStop-1] o.a.c.c.C. [Tomcat]。[localhost]。[/]: 初始化Spring嵌入式WebApplicationContext 2015-07-11 23:38:11.551 INFO 3833 --- [ost-startStop-1] o.s.web.context.ContextLoader:Root WebApplicationContext: 初始化完成于2443 ms 2015-07-11 23:38:12.479 INFO 3833 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean:映射servlet:'dispatcherServlet'到[/] 2015-07-11 23:38:12.484 INFO 3833 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean:映射过滤器: 'characterEncodingFilter'来:[/ ] 2015-07-11 23:38:12.485 INFO 3833 --- [ost-startStop-1] o.s.b.c.embedded.FilterRegistrationBean:映射过滤器:'hiddenHttpMethodFilter'到:[/ ] 2015-07-11 23:38:12.706 ERROR 3833 --- [ost-startStop-1] o.a.c.c.C. [Tomcat]。[localhost]。[/]:异常发送上下文 初始化事件到类的侦听器实例 org.apache.tomcat.websocket.server.WsContextListener
java.lang.VerifyError:StackMapTable错误:错误的偏移异常 详细信息:位置: 组织/阿帕奇/ Tomcat的/网页套接字/ WsWebSocketContainer.createSSLEngine(Ljava / UTIL /地图;)Ljavax /净/ SSL / SSLEngine的; @ 0:aload_1原因: 无效的stackmap规范。当前框架: bci:@ 121 旗帜:{} locals:{'org / apache / tomcat / websocket / WsWebSocketContainer','java / util / Map','javax / net / ssl / SSLContext','java / lang / String', 'java / lang / String','java / io / File','java / security / KeyStore', 'java / io / InputStream','java / lang / Throwable'} stack:{'java / lang / Throwable'}字节码:
我希望有人帮我解决问题。
答案 0 :(得分:0)
答案 1 :(得分:0)
所以只需删除maven资源库,一切都会好的