java.lang.VerifyError: Bad type on operand stack 如何解决?

java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:

com/test/web/mvc/WEBBootstrap.init(Ljavax/servlet/FilterConfig;)V @45: invokevirtual

Reason:

Type 'java/lang/Object' (current frame, stack[1]) is not assignable to 'com/code/check/entity/ClassMethodInfo'

Current Frame:

bci: @45

flags: { }

locals: { 'com/test/web/mvc/WEBBootstrap', 'javax/servlet/FilterConfig', 'com/code/check/entity/ClassMethodInfo', 'java/lang/Object' }

stack: { 'java/lang/Object', 'java/lang/Object' }

Bytecode:

0x0000000: bb01 d859 1301 da13 01dc 04b7 01df 4db2

0x0000010: 01e4 2cb6 01e7 b901 eb02 0099 002b b201

0x0000020: e42c b601 e7b9 01ee 0200 4e2d 2db6 01f2

0x0000030: 0460 b601 f6b2 01e4 2cb6 01e7 2db9 01fa

0x0000040: 0300 57a7 0011 b201 e42c b601 e72c b901

0x0000050: fa03 0057 b201 feb2 01e4 b902 0101 00b6

0x0000060: 0206 b201 feb2 01e4 2cb6 01e7 b901 ee02

0x0000070: 00c0 01d8 b602 09b6 020b b200 05b6 0006

0x0000080: 9900 04b1 1300 0759 4dc2 b200 05b6 0006

0x0000090: 9900 062c c3b1 b200 0504 b600 082b b900

0x00000a0: 0901 00b8 000a b800 0bb8 000c c700 09b8

0x00000b0: 000d a700 06b8 000c b200 0eb8 000f b300

0x00000c0: 10b2 0011 b800 12b3 0013 bb00 1459 b700

0x00000d0: 15b8 0016 b600 1712 18b6 0017 b600 19b8

0x00000e0: 001a 121b b800 1cc7 0008 121b a700 0812

0x00000f0: 1bb8 001c 4e12 1db8 001c c700 0812 1ba7

0x0000100: 0008 121d b800 1c3a 042d 121e b600 1f99

0x0000110: 0021 04b3 0020 2ab4 0004 bb00 1459 b700

0x0000120: 1512 21b6 0017 2db6 0017 b600 19b6 0022

0x0000130: 1904 121e b600 1f99 0021 04b3 0023 2ab4

0x0000140: 0004 bb00 1459 b700 1512 24b6 0017 2db6

0x0000150: 0017 b600 19b6 0022 2abb 0025 59b7 0026

0x0000160: b500 27b8 0028 b600 292c c3a7 000a 3a05

0x0000170: 2cc3 1905 bfb1

Exception Handler Table:

bci [138, 149] => handler: 366

bci [150, 363] => handler: 366

bci [366, 370] => handler: 366

Stackmap Table:

append_frame(@70,Object[#472])

same_frame(@84)

same_frame(@132)

full_frame(@150,{Object[#131],Object[#227],Object[#525]},{})

same_frame(@181)

same_locals_1_stack_item_frame(@184,Object[#256])

same_frame(@239)

same_locals_1_stack_item_frame(@244,Object[#256])

append_frame(@258,Object[#256])

same_locals_1_stack_item_frame(@263,Object[#256])

append_frame(@304,Object[#256])

same_frame(@344)

full_frame(@366,{Object[#131],Object[#227],Object[#525]},{Object[#178]})

append_frame(@373,Object[#256],Object[#256])

at java.lang.Class.getDeclaredConstructors0 (Native Method)

at java.lang.Class.privateGetDeclaredConstructors (Class.java:2671)

at java.lang.Class.getConstructor0 (Class.java:3075)

at java.lang.Class.newInstance (Class.java:412)

at org.eclipse.jetty.servlet.ServletContextHandler$Context.createFilter (ServletContextHandler.java:1051)

at org.eclipse.jetty.servlet.FilterHolder.doStart (FilterHolder.java:104)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:64)

at org.eclipse.jetty.servlet.ServletHandler.initialize (ServletHandler.java:768)

at org.eclipse.jetty.servlet.ServletContextHandler.startContext (ServletContextHandler.java:265)

at org.eclipse.jetty.webapp.WebAppContext.startContext (WebAppContext.java:1242)

at org.eclipse.jetty.server.handler.ContextHandler.doStart (ContextHandler.java:717)

at org.eclipse.jetty.webapp.WebAppContext.doStart (WebAppContext.java:494)

at org.mortbay.jetty.plugin.JettyWebAppContext.doStart (JettyWebAppContext.java:298)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:64)

at org.eclipse.jetty.server.handler.HandlerCollection.doStart (HandlerCollection.java:229)

at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart (ContextHandlerCollection.java:172)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:64)

at org.eclipse.jetty.server.handler.HandlerCollection.doStart (HandlerCollection.java:229)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:64)

at org.eclipse.jetty.server.handler.HandlerWrapper.doStart (HandlerWrapper.java:95)

at org.eclipse.jetty.server.Server.doStart (Server.java:282)

at org.mortbay.jetty.plugin.JettyServer.doStart (JettyServer.java:65)

at org.eclipse.jetty.util.component.AbstractLifeCycle.start (AbstractLifeCycle.java:64)

at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty (AbstractJettyMojo.java:520)

at org.mortbay.jetty.plugin.AbstractJettyMojo.execute (AbstractJettyMojo.java:365)

at org.mortbay.jetty.plugin.JettyRunMojo.execute (JettyRunMojo.java:523)

at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156)

at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)

at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)

at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)

at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)

at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)

at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)

at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)

at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)

at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)

at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke (Method.java:498)

at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282)

at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225)

at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)

at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)

at org.codehaus.classworlds.Launcher.main (Launcher.java:47)

[WARNING] FAILED org.mortbay.jetty.plugin.JettyServer@5b4d25e7: java.lang.VerifyError: Bad type on operand stack

已经卡住很久了,死活不行,有大佬知道这种问题如何解决吗?

以上是 java.lang.VerifyError: Bad type on operand stack 如何解决? 的全部内容, 来源链接: utcz.com/p/944868.html

回到顶部