JRebel:错误javax.servlet.ServletException:java.lang.VerifyError:错误的返回类型

时间:2017-05-06 08:20:02

标签: jrebel

想法2017.1,tomcat9.0.0.M20,jrebel7.0.8。使用jrebel运行“Tomcat 9.0.0.M20”

HTTP状态[500] - [内部服务器错误]

类型例外报告

消息java.lang.VerifyError:错误的返回类型

描述服务器遇到意外情况,导致无法完成请求。

异常

javax.servlet.ServletException:java.lang.VerifyError:错误的返回类型 例外细节:   地点:     组织/阿帕奇/碧玉/编译器/ JspUtil.getInputStream(Ljava /郎/字符串; Lorg /阿帕奇/ Tomcat的/罐; Lorg /阿帕奇/碧玉/ JspCompilationContext;)Ljava / IO /的BufferedInputStream; @ 35:转过来   原因:     类型'java / io / InputStream'(当前帧,堆栈[0])不能分配给'java / io / BufferedInputStream'(来自方法签名)   当前框架:     bci:@ 35     旗帜:{}     locals:{'java / lang / String','org / apache / tomcat / Jar','org / apache / jasper / JspCompilationContext','java / io / InputStream'}     stack:{'java / io / InputStream'}   字节码:     0x0000000:2b01 b803 a299 001f 2cb6 0368 b803 6e2b     0x0000010:b903 7201 002a b603 754e 2d01 b803 a299     0x0000020:0005 2db0 014e 2bc6 001a 2a04 2ab6 0002     0x0000030:b600 083a 042b 1904 b900 b802 004e a700     0x0000040:092c 2ab6 00b9 4e2d c700 17bb 00ba 5912     0x0000050:bb2a b800 bcb7 00bd b803 a8c0 03aa bfbb     0x0000060:00be 592d 1104 00b7 00bf b0
  Stackmap表:     same_frame(@ 36)     append_frame(@ 65,NULL)     full_frame(@ 71,{对象[#16],对象[#650],对象[#652],对象[#421]},{})     same_frame(@ 95)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:338)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(InternalResourceView.java:168)
org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:303)
org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1244)
org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1027)
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:971)
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:966)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:857)
javax.servlet.http.HttpServlet.service(HttpServlet.java:635)
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:842)
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
com.darlingtech.util.SessionFilter.doFilterInternal(SessionFilter.java:65)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
org.springframework.session.web.http.SessionRepositoryFilter.doFilterInternal(SessionRepositoryFilter.java:167)
org.springframework.session.web.http.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:80)
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

1 个答案:

答案 0 :(得分:2)

在JRebel的7.0.9版本中添加了与Tomcat 9.0.0.M20的集成。