java.lang.NoClassDefFoundError:甲骨文/ J2EE / WS /普通/ JAXWS / ServiceDelegateImpl

时间:2013-02-26 06:31:58

标签: java java-ee soa oracle-adf bpm

我正在使用BPM API来检索分配给特定用户的任务列表。但是,在运行类文件时,我遇到以下错误: -

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

我已经将以下Jar文件添加到我的项目中: -

  1. Oracle.bpm.runtime.jar
  2. Oracle.bpm.client.jar
  3. BPM-services.jar
  4. Wsclient.jar
  5. 但问题仍未解决..

    任何建议??????

1 个答案:

答案 0 :(得分:0)

除了它无法正常工作的原因之外,您应该使用Oracle提供的TaskQueryService。