conanin
conanin
2012-09-08 09:30
浏览 723
已采纳

怎么解决java.lang.VerifyError: StackMapTable error: bad offset?

启动一个WEB APP的时候,抛了如下EXCEPTION,没什么头绪,求高手指方向,先谢谢了:

Exception in thread "main" java.lang.VerifyError: StackMapTable error: bad offset in method com.conanin.core.util.String
Utils.getStackTrace(Ljava/lang/Throwable;)Ljava/lang/String;
at com.conanin.core.server.ServerConfigAgent.getAbsoluteFilePath(ServerConfigAgent.java:2757)
at com.conanin.core.server.ServerConfigAgent.readServerConf(ServerConfigAgent.java:1813)
at com.conanin.core.server.ServerConfigAgent.readServerConf(ServerConfigAgent.java:1820)
at com.conanin.core.server.Server.basicInit(Server.java:965)
at com.conanin.core.server.ServerStartupSanity.initServer(ServerStartupSanity.java:433)
at com.conanin.core.server.ServerStartupSanity.doPreStartupChecks(ServerStartupSanity.java:137)
at com.conanin.core.server.ServerStartupSanity.main(ServerStartupSanity.java:111)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • jinnianshilongnian
    jinnianshilongnian 2012-09-08 10:28
    已采纳

    1、你是用的jdk1.7?
    2、用同一个JDK重新编译你的类试试。

    点赞 评论

相关推荐