2 l w b l_w_b 于 2016.01.20 16:47 提问

maven install时出错望好心人解决一下。小弟先谢谢了

T E S T S

Forking command line: cmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0\jre\bin\java" -jar E:\工作\我的代码\workspaceCollab2\AAA\target\surefire\surefirebooter4742801322268775008.jar E:\工作\我的代码\workspaceCollab2\AAA\target\surefire\surefire6598622082065573176tmp E:\工作\我的代码\workspaceCollab2\AAA\target\surefire\surefire_07796347708207276805tmp"
����: ���Դ��ļ�E:\?�����\???��??\workspaceCollab2\AAA\target\surefire\surefirebooter4742801322268775008.jʱ�����������

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.642 s
[INFO] Finished at: 2016-01-20T16:45:04+08:00
[INFO] Final Memory: 15M/38M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project eosgi-report: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ? -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project eosgi-report: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:46)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:143)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 20 more
Caused by: java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.close(ForkClient.java:257)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:301)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:116)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:740)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAllProviders(AbstractSurefireMojo.java:682)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:648)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:586)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 21 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

1个回答

rui888
rui888   Ds   Rxr 2016.01.20 17:14
biyesheji51qqcom
biyesheji51qqcom 回复biyesheji51qqcom: I had the same issue today and for me the real problem was reported further up in the log with message Cannot use a threadCount parameter less than 1; 1 > 0. When adding <threadCount>1</threadCount> in the surefire-plugin config the other error disappeared. 这个可用
7 个月之前 回复
biyesheji51qqcom
biyesheji51qqcom 多谢分享
7 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!
其他相关推荐
wpa握手包 谁能破解呢
我抓到的wpa握手包,麻烦好心人给破一下,谢谢了,欢迎分享字典和工具
汇编数据结构化排列源码
个人写的望能指点一下谢谢了 QQ:815256966
关于在Elipse中执行maven install 报错的解决方案
今天从别的地方拿到了一个由maven构建的项目的源码,想在自己的机器上部署一下,按照maven项目的打包部署步骤执行到maven install的时候,出现如下错误: [INFO] Scanning for projects... [INFO] [
Broken Necklace破碎的项链
Broken Necklace破碎的项链 你有一条由 N 个红色的,白色的,或蓝色的珠子组成的项链(3                                              r 代表 红色的珠子
帮忙解决一下,谢谢了
student stu[1000];student::save(){   int i=0, k=0;ofstream outfile("stu.dll",ios::app|ios::binary); if (! outfile) {cerr  exit(1); }   while (stu[k].num!=0)k++;   for (i=0;i   {outfile.write((char *
解决maven clean install后tomcat启动项目提示“is out of sync”的错误
最近编码的时候,maven clean install之后,tomcat启动必然提示“is out of sync”的错误,必须手动刷新项目(右键->refresh)才能正常启动war包。     后来在window->proferences->genral->refresh using native hooks.     网上的解释是,勾选该选项后,eclipse会通过hooks监控系统文件
求救的网络聊天室
请好心人帮我看看这代码!!!<br>小虾在这里谢谢了!!<br>
求助各位高手,帮忙做下,谢谢了
由计算机“想”一个四位数,请人猜出这个四位数是多少。人输入四位数字后,计算机首先判断这四位数字有几位是猜对了,并且在对的数字中又有几位位置也是对的,将结果显示出来,给人以提示,请人再猜,直到人猜出计算机所想的四位数是多少时为止。 
解开诺记手机密码下赶快来
急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,急用谢谢了,
maven install 报错解决
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?第一次解决方式是项目右键——>build path——>config build path 然后更改发现问题并没有解决。然后到Google上搜了一下,看了很多解决方法,终于找到一个比较有用的答