2019-12-10 15:24
我这边集成后是这样得问题 大佬求解
已导入maven:commons-io 2.5、jfinal-swagger 0.1.5
已配置:me.add(new MySwaggerRoutes());、me.add(new WebJarsHandler());
Exception in thread "main" java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
com/koolss/common/config/JfinalConfig.configRoute(Lcom/jfinal/config/Routes;)V @8: invokevirtual
Reason:
Type 'top/hequehua/swagger/routes/MySwaggerRoutes' (current frame, stack[1]) is not assignable to 'com/jfinal/config/Routes'
Current Frame:
bci: @8
flags: { }
locals: { 'com/koolss/common/config/JfinalConfig', 'com/jfinal/config/Routes' }
stack: { 'com/jfinal/config/Routes', 'top/hequehua/swagger/routes/MySwaggerRoutes' }
Bytecode:
0x0000000: 2bbb 0013 59b7 0014 b600 1557 2bbb 0016
0x0000010: 59b7 0017 b600 1557 2bbb 0018 59b7 0019
0x0000020: b600 1557 2bbb 001a 59b7 001b b600 1557
0x0000030: 2bbb 001c 59b7 001d b600 1557 2bbb 001e
0x0000040: 59b7 001f b600 1557 b1