解决Error running ‘XXX‘:command line is too long.Shorten command line for ‘XXX‘ or also for Junit

打开Idea运行java项目时出现以下错误:

Error running ‘XXX’:command line is too long.Shorten command line for ‘XXX’ or also for Junit default configuration
1.打开Idea,在右上角项目启动栏找到Edit Configuration:
解决Error running ‘XXX‘:command line is too long.Shorten command line for ‘XXX‘ or also for Junit_第1张图片
2.点击Modify options:
解决Error running ‘XXX‘:command line is too long.Shorten command line for ‘XXX‘ or also for Junit_第2张图片
3.再点击Shorten command line:
解决Error running ‘XXX‘:command line is too long.Shorten command line for ‘XXX‘ or also for Junit_第3张图片
4.更换Shorten command line选项:
解决Error running ‘XXX‘:command line is too long.Shorten command line for ‘XXX‘ or also for Junit_第4张图片
5.重新启动,问题解决,程序成功运行。

你可能感兴趣的:(junit,oracle,数据库,java,myeclipse)