我知道這個問題已被問過,但我無法使用其他帖子的解決方案修復它。 我想使用maven編譯一個複雜的gwt項目層次結構。 一切工作正常,直到我不得不添加更多的圖書館,更具體:org.eclipse.birt.runtimeCreateprocess error = 206;文件名或擴展名太長
現在我得到這個錯誤:
[ERROR] Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.6.1:debug ....
..... [Lots of jars, many containing birt, no duplicates though] .....
Error while executing process. Cannot run program "C:\Program Files\Java\jdk1.8.0_20\jre\bin\java": CreateProcess error=206, The filename or extension is too long
我使用的依賴關係是:
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.4.1</version>
</dependency>
是GWT的客戶端代碼中使用比爾特:
使用這種依賴它(我只需要運行時),我創建了lib和BIRT目錄,放在罐子裏有我自己解決了嗎?如果不是,則重構項目以將客戶端和服務器端代碼分離爲不同的模塊;否則,那麼,不要使用Windows? – 2014-11-04 09:46:05
nope,它只是服務器端;客戶端和服務器端已經分開了,你是什麼意思? – ahlexander 2014-11-04 09:50:55