Java NoClassDefFoundError:oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
我正在使用BPMAPI检索分配给特定用户的任务列表。但是,在运行类文件时,我遇到以下错误:-- 线程“main”java.lang.NoClassDefFoundError中的异常:oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl 位于oracle.bpm.client.BPMServiceClientFactory。(BPMServiceClientFactory.java:102) 位于oracle.bpm.client.BPMServiceClientFactory.getInstance(BPMServiceClientFactory.java:144) 位于project3.Fixture.getBPMServiceClientFactory(Fixture.java:33) 位于project3.Fixture.getBPMServiceClient(Fixture.java:49) 在project3.GetProcessInstances.testGetProcessInstances(GetProcessInstances.java:29) 位于project3.GetProcessInstances.main(GetProcessInstances.java:24) 原因:java.lang.ClassNotFoundException:oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl 位于java.net.URLClassLoader$1.run(URLClassLoader.java:202) 位于java.security.AccessController.doPrivileged(本机方法) 位于java.net.URLClassLoader.findClass(URLClassLoader.java:190) 位于java.lang.ClassLoader.loadClass(ClassLoader.java:305) 位于sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) 位于java.lang.ClassLoader.loadClass(ClassLoader.java:246) ... 还有6个 我已经将以下Jar文件添加到我的项目中:--Java NoClassDefFoundError:oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl,java,jakarta-ee,soa,oracle-adf,business-process-management,Java,Jakarta Ee,Soa,Oracle Adf,Business Process Management,我正在使用BPMAPI检索分配给特定用户的任务列表。但是,在运行类文件时,我遇到以下错误:-- 线程“main”java.lang.NoClassDefFoundError中的异常:oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl 位于oracle.bpm.client.BPMServiceClientFactory。(BPMServiceClientFactory.java:102) 位于oracle.bpm.client.BPMServiceCl
任何建议????除了它不起作用的原因之外,您应该使用Oracle提供的现成TaskQueryService。您还可以提供给出错误的源代码吗?您看到了吗?您是否也知道您使用的是哪个IDE?我想应该是JDEV。。。似乎您的wsclient.jar加载不正确我正在使用Jdeveloper 11.1.1.5嘿,怪胎,请告诉我现在该怎么办…我的开发被困在这里…非常紧急。。。。
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/j2ee/ws/common/jaxws/ServiceDelegateImpl
at oracle.bpm.client.BPMServiceClientFactory.<init>(BPMServiceClientFactory.java:102)
at oracle.bpm.client.BPMServiceClientFactory.getInstance(BPMServiceClientFactory.java:144)
at project3.Fixture.getBPMServiceClientFactory(Fixture.java:33)
at project3.Fixture.getBPMServiceClient(Fixture.java:49)
at project3.GetProcessInstances.testGetProcessInstances(GetProcessInstances.java:29)
at project3.GetProcessInstances.main(GetProcessInstances.java:24)
Caused by: java.lang.ClassNotFoundException: oracle.j2ee.ws.common.jaxws.ServiceDelegateImpl
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
... 6 more