码迷,mamicode.com
首页 > 编程语言 > 详细

nested exception is java.lang.VerifyError: Expecting a stackmap frame at bra

时间:2017-07-24 20:22:52      阅读:480      评论:0      收藏:0      [点我收藏+]

标签:led   eth   smi   host   targe   height   not   lisp   turn   

Caused by: java.lang.VerifyError: Expecting a stackmap frame 

 技术分享(2016-05-19 09:56:29)
标签: 

it

分类: Java
环境:Myeclispe2015、JDK1.7,打包加密工具proguard5.2.1

java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/DPS_VDForPostGIS]]
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/DPS_VDForPostGIS]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 7 more
Caused by: java.lang.VerifyError: Expecting a stackmap frame at branch target 193 in method com.dps.mapdata.services.MapData.init()V at offset 7
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2387)
at java.lang.Class.getDeclaredFields(Class.java:1796)
at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:106)
at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:263)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:142)
at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:67)
at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:405)
at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881)
at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:376)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5322)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
解决方法:
设置jdk1.7的编译;
技术分享
2.设置jre编译环境,增加参数-XX:-UseSplitVerifier
Window → Preferences → Java → Installed JREs → Edit... → Default VM arguments
技术分享

技术分享
完事重新启动一下tomcat即可。
 
 
 
 
 
 
            来源;http://blog.sina.com.cn/s/blog_a2f078300102wq20.html

nested exception is java.lang.VerifyError: Expecting a stackmap frame at bra

标签:led   eth   smi   host   targe   height   not   lisp   turn   

原文地址:http://www.cnblogs.com/kongxc/p/7230698.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!