早教吧 育儿知识 作业答案 考试题库 百科 知识分享

maveninstall时出错望好心人解决一下.小弟先谢谢了----------------------------------------------TESTS-------------------------------------------------------����:���Դ�

题目详情
maven install时出错望好心人解决一下.小弟先谢谢了
----------------------------------------------
T E S T S
-------------------------------------------------------
����:���Դ��ļ�G:\Java\MySHHE\target\surefire\surefirebooter7969119980403306093.jaʱ�����������
Results :
Tests run:0,Failures:0,Errors:0,Skipped:0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:2.565s
[INFO] Finished at:Sun Oct 27 17:27:34 CST 2013
[INFO] Final Memory:12M/105M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project MySHHE: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]
[ERROR]
[ERROR] To see the full stack trace of the errors,re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,please read the following articles:
▼优质解答
答案和解析
1,首先执行mvn clean install -Dmaven.test.skip=true
把测试阶段过滤掉不执行,然后再看报不报错,如果没有报错说明是执行了测试阶段问题
需要解决乱码问题,确定一下你的pom文件中的字符定义是否是utf-8,即
UTF-8
希望可以帮你解决.
看了maveninstall时出错...的网友还看了以下: