Axis soap ws春季启动问题pom.xml目标org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate failed

时间:2018-10-31 10:23:32

标签: spring maven spring-boot soap axis

我正在尝试从wsdl文件生成源,但是我不断遇到pom.xml上的错误,我认为这可能是我的问题?以下是我从pom和pom文件中得到的错误。另外,我无法使用mvn clean install构建项目。我似乎只是得到了一个没有实际原因的错误。

我正在使用sts 3.9.4 generate标签处的错误:

  

目标的执行默认值   org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:生成失败。   (org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:generate:default:generate-sources)   org.apache.maven.plugin.PluginExecutionException:执行默认值为   目标org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.14.0:生成失败。   在   org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)   在
  org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:331)   在   org.eclipse.m2e.core.internal.embedder.MavenImpl $ 11.call(MavenImpl.java:1362)   在   org.eclipse.m2e.core.internal.embedder.MavenImpl $ 11.call(MavenImpl.java:1)   在
  org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)   在   org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)   在
  org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1360)   在   org.eclipse.m2e.core.project.configurator.MojoExecutionBuildParticipant.build(MojoExecutionBuildParticipant.java:52)   在
  org.eclipse.m2e.core.internal.builder.MavenBuilderImpl.build(MavenBuilderImpl.java:137)   在   org.eclipse.m2e.core.internal.builder.MavenBuilder $ 1.method(MavenBuilder.java:172)   在
  org.eclipse.m2e.core.internal.builder.MavenBuilder $ 1.method(MavenBuilder.java:1)   在   org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod $ 1 $ 1.call(MavenBuilder.java:115)   在
  org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)   在   org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:112)   在
  org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod $ 1.call(MavenBuilder.java:105)   在   org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)   在
  org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)   在   org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)   在
  org.eclipse.m2e.core.internal.builder.MavenBuilder $ BuildMethod.execute(MavenBuilder.java:86)   在   org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:200)   在   org.eclipse.core.internal.events.BuildManager $ 2.run(BuildManager.java:   735),网址为org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)   org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)   在   org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)   在
  org.eclipse.core.internal.events.BuildManager $ 1.run(BuildManager.java:301)   在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)处   org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)   在
  org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)   在   org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)   在   org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)   在
  org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)   在org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)上引起   创建人:java.lang.NullPointerException   com.sun.tools.xjc.ModelLoader.loadWSDL(ModelLoader.java:390)在
  com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:158)位于   com.sun.tools.xjc.ModelLoader.load(ModelLoader.java:117)位于   org.jvnet.mjiip.v_2_3.XJC23Mojo.loadModel(XJC23Mojo.java:50)在   org.jvnet.mjiip.v_2_3.XJC23Mojo.doExecute(XJC23Mojo.java:40)在   org.jvnet.mjiip.v_2_3.XJC23Mojo.doExecute(XJC23Mojo.java:28)在   org.jvnet.jaxb2.maven2.RawXJC2Mojo.doExecute(RawXJC2Mojo.java:478)位于   org.jvnet.jaxb2.maven2.RawXJC2Mojo.execute(RawXJC2Mojo.java:320)在
  org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)   ...还有31个

0 个答案:

没有答案