我是試圖部署一個簡單的helloworld jsf2.2項目與jetty9.2.3,
我用netbeans的插件添加碼頭服務器,並啓用服務器中的jsf和cdi
但是,服務器永遠不會成功啓動,它始終顯示以下錯誤,當我試圖啓動碼頭服務器。java.nio.file.InvalidPathException:索引4處的非法字符<:>:http://central.maven.org/maven2/org/jboss/weld/servlet/weld-servlet/2.1.2.Final
java.nio.file.InvalidPathException: Illegal char <:> at index 4: http://central.maven.org/maven2/org/jboss/weld/servlet/weld-servlet/2.1.2.Final/weld-servlet-2.1.2.Final.jar:lib/cdi/weld-servlet-2.1.2.jar
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
at org.eclipse.jetty.start.BaseHome.getBasePath(BaseHome.java:204)
at org.eclipse.jetty.start.Main.start(Main.java:722)
at org.eclipse.jetty.start.Main.main(Main.java:111)
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Java Result: -5
run:
java.nio.file.InvalidPathException: Illegal char <:> at index 4:
http://central.maven.org/maven2/org/jboss/weld/servlet/weld-servlet/2.1.2.Final/weld-servlet-2.1.2.Final.jar:lib/cdi/weld-servlet-2.1.2.jar
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53)
at org.eclipse.jetty.start.BaseHome.getBasePath(BaseHome.java:204)
at org.eclipse.jetty.start.Main.start(Main.java:722)
at org.eclipse.jetty.start.Main.main(Main.java:111)
Usage: java -jar start.jar [options] [properties] [configs]
java -jar start.jar --help # for more information
Java Result: -5
我搜索了很多,發現沒有人會遇到這個問題。
我錯過了什麼?有什麼我需要配置?
謝謝。