有关配置文件出错--java.lang.VerifyError

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Maskkiss/article/details/62431099

今天有同事在调本地接口之前,运行接口库项目报错,一开始报ClassNotFound异常,排查后发现该配置的监听,注入等有可能出错的地方并没有错误的配置。


接着,尝试在此处把tomcat的服务部署位置,放在本地,重新运行项目,仍然报错。出现字节码异常,排查一遍后发现仍然无异常配置。

常用的排查方法都试过后,开始考虑重新更换jdk编译运行巴拉巴拉,就在此时转机出现了,在查看java build path时,executing environment 的选项中有很多相似的配置选项

,发现此处是错误配置,更改为正常的jdk版本后重新部署运行。通过!

阅读更多

java.lang.VerifyError:

03-03

网上搜了都说是jdk版本的问题 我都改过 然后重装过两次次jdk 还真成功过 但是过会又是同样的问题 现在再怎么重装都还是这样rnrnrnorg.apache.catalina.core.StandardWrapperValve invokern严重: Servlet.service() for servlet jsp threw exceptionrnjava.lang.VerifyError: (class: org/apache/jasper/compiler/JspUtil, method: signature: ()V) Incompatible argument to functionrn at org.apache.jasper.JspCompilationContext.getServletClassName(JspCompilationContext.java:374)rn at org.apache.jasper.JspCompilationContext.getClassFileName(JspCompilationContext.java:514)rn at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:445)rn at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:392)rn at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:585)rn at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)rn at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)rn at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)rn at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)rn at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)rn at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)rn at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)rn at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)rn at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)rn at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)rn at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)rn at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)rn at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)rn at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)rn at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)rn at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)rn at java.lang.Thread.run(Thread.java:619)rn

没有更多推荐了,返回首页