求助 升级至3.6 改为UndertowServer 启动,报个很奇怪的错误

Exception in thread "main" java.lang.VerifyError: Bad type on operand stack

Exception Details:

  Location:

    net/yxsoft/controller/pc/sysmgt/infrastructure/CodeController.getCode()V @13: invokestatic

  Reason:

    Type 'net/yxsoft/controller/pc/sysmgt/infrastructure/CodeController' (current frame, stack[0]) is not assignable to 'com/jfinal/core/Controller'

  Current Frame:

    bci: @13

    flags: { }

    locals: { 'net/yxsoft/controller/pc/sysmgt/infrastructure/CodeController', 'net/yxsoft/common/bean/TsCodeSearch' }

    stack: { 'net/yxsoft/controller/pc/sysmgt/infrastructure/CodeController' }

  Bytecode:

    0x0000000: 2a12 0a12 0bb6 000c c000 0a4c 2ab8 000d

    0x0000010: 4db8 000e 4e2b c600 692b b600 0fb8 0010

    0x0000020: 9900 0e2d 1211 2bb6 000f b600 1257 2bb6

    0x0000030: 0013 b800 1099 0025 2d12 14bb 0015 59b7

    0x0000040: 0016 1217 b600 182b b600 13b6 0018 1217

    0x0000050: b600 18b6 0019 b600 1257 2bb6 001a b800

    0x0000060: 1099 001e 121b 04bd 001c 5903 2bb6 001a

    0x0000070: 53b8 001d 3a04 2d12 1119 04b6 0012 57b2

    0x0000080: 001e 2c12 1f12 202d b800 21b6 0022 2a2c

    0x0000090: b600 23b6 0024 b1                      

  Stackmap Table:

    append_frame(@46,Object[#139],Object[#140],Object[#141])

    same_frame(@90)

    same_frame(@127)


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

at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)

at java.lang.Class.getDeclaredMethods(Class.java:1975)

at com.jfinal.core.ActionMapping.buildActionMapping(ActionMapping.java:66)

at com.jfinal.core.JFinal.initActionMapping(JFinal.java:103)

at com.jfinal.core.JFinal.init(JFinal.java:64)

at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:63)

at io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed(LifecyleInterceptorInvocation.java:111)

at io.undertow.servlet.core.ManagedFilter.createFilter(ManagedFilter.java:80)

at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:589)

at io.undertow.servlet.core.DeploymentManagerImpl$2.call(DeploymentManagerImpl.java:554)

at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:42)

at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)

at io.undertow.servlet.core.DeploymentManagerImpl.start(DeploymentManagerImpl.java:596)

at com.jfinal.server.undertow.UndertowServer.configHttp(UndertowServer.java:277)

at com.jfinal.server.undertow.UndertowServer.doStart(UndertowServer.java:255)

at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:152)

at com.jfinal.server.undertow.UndertowServer.start(UndertowServer.java:89)

at net.yxsoft.ApplicationGlobalConfig.main(ApplicationGlobalConfig.java:77)


评论区

JFinal

2019-02-22 15:42

项目重新编译一次,jfinal undertow 升级到 1.5

三亚风

2019-02-26 19:23

谢谢,已解决

热门分享

扫码入社