java – Createprocess error = 206;文件名或扩展名太长
发布时间:2020-05-24 23:42:09 所属栏目:Java 来源:互联网
导读:参见英文答案 CreateProcess error=206, The filename or extension is too long when running main() method15个 我知道之前已经问过这个问题,但我无法使用其他帖子的解决方案来修复它. 我正在尝试使用maven编译复杂的gwt项目层次结构.
|
参见英文答案 >
CreateProcess error=206,The filename or extension is too long when running main() method15个
现在我收到此错误: [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 FilesJavajdk1.8.0_20jrebinjava": 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>
解决方法我终于设法解决了它:结果是birt,连同它的依赖,只是添加了太多的库,类路径变得太长,Windows命令无法处理.此外,birt图书馆的名字很长. 解决了它使用这种依赖(我只需要运行时),我创建了lib和birt目录并将jar放在那里: <dependency>
<groupId>org.eclipse.birt.runtime</groupId>
<artifactId>org.eclipse.birt.runtime</artifactId>
<version>4.4.1</version>
<scope>system</scope>
<systemPath>${basedir}/lib/birt/birt.runtime-4.4.1.jar</systemPath>
</dependency> (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- java – H2数据库:从外键约束引用根模式中的表
- spring实例化javabean的三种方式分享
- 这个Java代码对这个问题正确吗? (无数组)
- Android获取应用程序下所有Activity
- springboot整合Quartz实现动态配置定时任务的方法
- java – 处理JTextField中的编辑事件
- Java Config等效于conversionService / FormattingConversi
- Spring MVC+FastJson+hibernate-validator整合的完整实例教
- 在java中调用ExecutorService.shutDown()
- Spring MVC过滤器-登录过滤的代码实现
