我知道之前已经问过这个问题,但我无法使用其他帖子的解决方案来修复它.我正在尝试使用maven编译一个复杂的gwt项目层次结构.一切正常,直到我不得不再添加一个库,更具体地说:org.eclipse.birt.runtime
现在我收到这个错误:
[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
Run Code Online (Sandbox Code Playgroud)
我正在使用的依赖是:
<dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.4.1</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)