问题
秀政 王 · 七月 2, 2021

ensemble引入Java jar包报错

错误详情

ERROR #5023: Remote Gateway Error: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/MethodInterceptor at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at com.intersys.gateway.JavaGateway.loadClass(JavaGateway.java:1375) at com.intersys.gateway.Generator.generate(Generator.java:168) at com.intersys.gateway.JavaGateway.generateClasses(JavaGateway.java:794) at com.intersys.gateway.JavaGateway.processMessage(JavaGateway.java:565) at com.intersys.gateway.JavaGateway.run(JavaGateway.java:548) at com.intersys.gateway.JavaGateway.run(JavaGateway.java:519) Caused by: java.lang.ClassNotFoundException: net.sf.cglib.proxy.MethodInterceptor at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 20 more 1

产品版本: HealthShare 2018.1
$ZV: Cache for Windows (x86-64) 2018.1 (Build 184U) Wed Sep 19 2018 09:09:22 EDT [HealthShare Modules:Core:15.032.1010 + Linkage Engine:15.032.1010]
00
1 0 3 51
登录或注册以继续

是不是缺了一个类:You're missing a JAR with net.sf.cglib.proxy.MethodInterceptor class.

是否未导入引用的jar包导致无法成功引用,可以在java网关向导中导入jar时,同时将依赖的jar进行导入