oracle jdeveloper 12.2.1.3.0上的JAXWS Client ServiceConfigurationError

时间:2018-07-26 17:25:25

标签: java oracle integration jax-ws bi-publisher

我已经创建了一个客户端来连接到oracle Fusion Web服务。这样做是为了通过使用JAXWS通过Web服务在Oracle融合中集成Oracle BI Publisher。

该集成当前由一个批处理文件执行,我们从那里调用Java实用程序,并且运行良好。但是,一旦我从oracle jdeveloper开始执行Java实用程序, (12.2.1.3.0),出现以下错误。

我已经向我添加了jaxws-tools-2.1.4.jar和jaxws-rt-2.1.4.jar罐子 类路径&我试图在jaxws-rt-2.1.4.jar中找到com.sun.xml.ws.api.client.ServiceCreationInterceptor类,但是不存在此类。

Exception in thread "main" java.util.ServiceConfigurationError: javax.xml.ws.spi.Provider:   Provider **weblogic.wsee.jaxws.spi.WLSProvider could not be instantiated**
        at java.util.ServiceLoader.fail(ServiceLoader.java:232)
        at java.util.ServiceLoader.access$100(ServiceLoader.java:185)
        at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
        at javax.xml.ws.spi.Provider.getProviderUsingServiceLoader(Provider.java:165)
        at javax.xml.ws.spi.Provider.provider(Provider.java:125)
        at javax.xml.ws.Service.<init>(Service.java:77)
        at com.oracle.xmlns.oxp.service.v2.ScheduleService_Service.<init>(ScheduleService_Service.java:46)
        at com.oracle.xmlns.oxp.service.v2.ScheduleServiceClient.runReport(ScheduleServiceClient.java:40)
        at interfaces.YBHRTaleoOLF.JobFullReport(YBHRTaleoOLF.java:49)
        at interfaces.YBHRTaleoOLF.main(YBHRTaleoOLF.java:25)
    **Caused by: java.lang.NoClassDefFoundError: com/sun/xml/ws/api/client/ServiceCreationInterceptor**
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at weblogic.wsee.jaxws.spi.WLSProvider.<clinit>(WLSProvider.java:132)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at java.lang.Class.newInstance(Class.java:442)
        at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)
        ... 9 more
    **Caused by: java.lang.ClassNotFoundException: com.sun.xml.ws.api.client.ServiceCreationInterceptor**
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 28 more
    Process exited with exit code 1.

0 个答案:

没有答案