You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the maven build process uses a temp path with spaces, like C:\MyTemp with Spaces\, the jaxws-maven-plugin throws the following exception:
Exception in thread "main" java.io.FileNotFoundException: C:\MyTemp (Das System kann die angegebene Datei nicht finden)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:216)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
at org.jvnet.jax_ws_commons.jaxws.Invoker.main(Invoker.java:49)
On a Windows machine, I have a maven project with following
pom.xml
:If the maven build process uses a temp path with spaces, like
C:\MyTemp with Spaces\
, the jaxws-maven-plugin throws the following exception:The line above this exception is:
You can see that the value for
-pathfile
is not properly quoted or escaped.You can set the temp path by adding
"-Djava.io.tmpdir=C:\MyTemp with Spaces"
to yourmvn install
command.The build process works well, if I use a temp path without spaces. Like:
The text was updated successfully, but these errors were encountered: