在尝试生成WSDL时,我的状态低于 NullPointerException 。
使用Maven
JDK-1.8
JAXB-maven-plugin = 2.3.1
weblogic.wsee.tools.WsBuildException: Error processing JAX-WS web services
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.jaxws.JAXWSProcessor.finish(JAXWSProcessor.java:232)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.process.CompositeProcessor.finish(CompositeProcessor.java:59)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.build.JwsCompiler.buildWebServices(JwsCompiler.java:545)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.build.JwsCompiler.compile(JwsCompiler.java:502)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:438)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:302)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:242)
2019-01-04 17:23:22.605 [ERROR] Caused by: java.lang.NullPointerException
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.db.sdo.SDOUtils.registerSDOContext(SDOUtils.java:217)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.db.sdo.SDOContextWrapper.<init>(SDOContextWrapper.java:134)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.db.sdo.SDOContextFactory.newContext(SDOContextFactory.java:59)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.spi.db.BindingContextFactory.create(BindingContextFactory.java:182)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:218)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:191)
2019-01-04 17:23:22.605 [ERROR] at java.security.AccessController.doPrivileged(Native Method)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:191)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:110)
2019-01-04 17:23:22.605 [ERROR] at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:324)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.jaxws.JAXWSProcessor.generateWsdl(JAXWSProcessor.java:272)
2019-01-04 17:23:22.605 [ERROR] at weblogic.wsee.tools.jws.jaxws.JAXWSProcessor.generateWsdl(JAXWSProcessor.java:240)
2019-01-04 17:23:22.606 [ERROR] at weblogic.wsee.tools.jws.jaxws.JAXWSProcessor.finish(JAXWSProcessor.java:225)
2019-01-04 17:23:22.606 [ERROR] ... 23 more
我做错什么了吗?