<execution>标记和WSDL文件

时间:2019-07-15 07:48:31

标签: java eclipse spring-tool-suite wsdl2java cxf-codegen-plugin

我对这个执行标签有疑问,并试图做完本课中所有已解决的工作,但是没有用。

此外,当我创建wsdl/CustomerOrders.wsdl时,我的SpringToolSuite无法识别格式wsdl

项目更新并构建成功后,我得到了警告。

不知道出了什么问题。

Screenshot 当我专注于标签<execution>时,会显示一条消息:

  

退出代码:1

     

命令行为:   /图书馆/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/java   --add-exports = jdk.xml.dom / org.w3c.dom.html =全部取消命名--add-exports = java.xml / com.sun.org.apache.xerces.internal.impl.xs = ALL -未命名   --add-opens java.base / java.security = ALL-UNNAMED --add-opens java.base / java.net = ALL-UNNAMED --add-opens   java.base / java.lang = ALL-UNNAMED --add-opens   java.base / java.util = ALL-UNNAMED --add-opens   java.base / java.util.concurrent =全部-未命名-jar   /var/folders/s9/yqrw7b4x04vbb3xsqd83wjlm0000gn/T/cxf-tmp-2729084258809485226/cxf-codegen16138783837432610673.jar   / var / folders / s9 / yqrw7b4x04vbb3xsqd83wjlm0000gn / T / cxf-tmp-2729084258809485226 / cxf-w2j5758623974622515504args

     

(org.apache.cxf:cxf-codegen-plugin:3.3.1:wsdl2java:generate-sources:generate-sources)

     

org.apache.maven.plugin.MojoExecutionException:

     

退出代码:1

     

命令行为:   /图书馆/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/bin/java   --add-exports = jdk.xml.dom / org.w3c.dom.html =全部取消命名--add-exports = java.xml / com.sun.org.apache.xerces.internal.impl.xs = ALL -未命名   --add-opens java.base / java.security = ALL-UNNAMED --add-opens java.base / java.net = ALL-UNNAMED --add-opens   java.base / java.lang = ALL-UNNAMED --add-opens   java.base / java.util = ALL-UNNAMED --add-opens   java.base / java.util.concurrent =全部-未命名-jar   /var/folders/s9/yqrw7b4x04vbb3xsqd83wjlm0000gn/T/cxf-tmp-2729084258809485226/cxf-codegen16138783837432610673.jar   / var / folders / s9 / yqrw7b4x04vbb3xsqd83wjlm0000gn / T / cxf-tmp-2729084258809485226 / cxf-w2j5758623974622515504args   在   org.apache.cxf.maven_plugin.AbstractCodegenMoho.runForked(AbstractCodegenMoho.java:699)

     在

  org.apache.cxf.maven_plugin.AbstractCodegenMoho.forkOnce(AbstractCodegenMoho.java:558)

     在

  org.apache.cxf.maven_plugin.AbstractCodegenMoho.execute(AbstractCodegenMoho.java:276)

     在

  org.apache.cxf.maven_plugin.wsdl2java.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:511)

     在

  org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)

     在

  org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:333)

     在

  org.eclipse.m2e.core.internal.embedder.MavenImpl.lambda $ 7(MavenImpl.java:1380)

     在

  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:1379)

     在

  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:173)

     在

  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:116)

     在

  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:106)

     在

  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:87)

     在

  org.eclipse.m2e.core.internal.builder.MavenBuilder.build(MavenBuilder.java:201)

     在

  org.eclipse.core.internal.events.BuildManager $ 2.run(BuildManager.java:833)

     

在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)

     在

  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:220)

     在

  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:263)

     在

  org.eclipse.core.internal.events.BuildManager $ 1.run(BuildManager.java:316)

     

在org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)

     在

  org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:319)

     在

  org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:371)

     在

  org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:392)

     在

  org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:154)

     在

  org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:244)

     

在org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

0 个答案:

没有答案