java - 命令行太长 DataNucleus 工具的标准错误

标签 java spring-mvc maven datanucleus

我收到这个错误

The command line is too long.

mvn install

Standard error from the DataNucleus tool  org.datanucleus.enhancer.DataNucleusEnhancer 

The command line is too long.

最佳答案

如果您在 Windows 中使用 datanucleus-maven-plugin,只需在插件配置中将 fork 属性设置为 false,如下所示:

 <plugins>
  ...
    <plugin>
        <groupId>org.datanucleus</groupId>
        <artifactId>datanucleus-maven-plugin</artifactId>
        <version>3.3.0-release</version>
        <configuration>
            <verbose>true</verbose>
            <fork>false</fork>   <!-- Solve windows line too long error -->
        </configuration>
    </plugin>
  ...
  </plugins>

参见 datanucleus enhancer page获取更多数据。

关于java - 命令行太长 DataNucleus 工具的标准错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8353855/

相关文章:

java - 拖放监听器和处理程序不起作用 [JavaFX]

java - 来自证书颁发机构的 java 代码签名需要多少钱?

spring-boot - 是否可以从 Maven 多模块项目的父模块中的配置文件夹加载 Spring-Boot 属性?

maven - IntelliJ新项目-maven原型(prototype)列表为空

java - 带异常处理的 while 循环

java - StreamCorruptedException : invalid stream header: 73720024

java - 如何使用@ResponseBody从 Controller 获取字符串数组?

java - 使用 Apache Derby 作为嵌入式数据库的 Spring-boot 错误

spring-mvc - 如何找出请求到达错误处理程序的 url?

java - 在 Controller 上使用@RolesAllowed 并获取 "object is not an instance of declaring class"