我正面临着这个问题,当我使用Maven部署我的应用程序时,请推荐一些解决方案。
错误日志
[ERROR] Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.1.0:xsdtojava (generate-xsd-sources) on project coin-model: Could not create runtime jar: The system cannot find the path specified -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.cxf:cxf-xjc-plugin:3.1.0:xsdtojava (generate-xsd-sources) on project coin-model: Could not create runtime jar
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
...
Caused by: org.apache.maven.plugin.MojoExecutionException: Could not create runtime jar
at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.runForked(AbstractXSDToJavaMojo.java:509)
at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.run (http://org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.run)(AbstractXSDToJavaMojo.java:342)
at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.execute(AbstractXSDToJavaMojo.java:238)
... 22 more
Caused by: java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createTempFile(File.java:2024)
at java.io.File.createTempFile(File.java:2070)
at org.apache.cxf.maven_plugin.AbstractXSDToJavaMojo.runForked(AbstractXSDToJavaMojo.java:465)
... 24 more发布于 2020-08-25 16:07:53
提供的jar的路径可能不正确。
https://stackoverflow.com/questions/63574524
复制相似问题