命令行太长DataNucleus工具的标准错误 [英] The command line is too long Standard error from the DataNucleus tool

查看:382
本文介绍了命令行太长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 ,如下所示:

If you is using datanucleus-maven-plugin in windows simply set fork property as false in configuration of plugin as follow:

 <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 获取更多数据。

这篇关于命令行太长DataNucleus工具的标准错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆