相关疑难解决方法(0)

拥有分叉的java VM意味着什么?

我运行JUnit测试时有时会遇到此错误.

我并不是在问这个错误是什么.我只是想知道java VM分叉时它意味着什么?

java virtual-machine

9
推荐指数
1
解决办法
4712
查看次数

Linux中的类路径限制

我们从shell脚本执行独立的java程序,有一个comman脚本提到类路径,路径等.在这个通用脚本中,我们现在添加了几个类路径,字符数超过9000.它在测试中工作正常ENV.它会在生产中引起任何问题吗?在linux中设置classpath有什么限制吗?命令行输入的最大字符数是多少...

java linux

5
推荐指数
2
解决办法
5479
查看次数

对于不存在的测试套件,AssertionFailedError Forked Java VM 异常退出

这可能看起来与 SO 上的某些内容重复,但是我已经查看了thisthisthisthis但还没有找到有效的解决方案。

我遇到的问题是我在 jenkins 上为非现有测试套件收到此错误。以下是 jenkins ant 构建日志中打印的错误;

compile-tests-run:
    [junit] Testsuite: com.smartstream.control.engine.validation.Batch-With-Multiple-Tests
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
    [junit] 
    [junit] Testcase: null took 0 sec
    [junit]     Caused an ERROR
    [junit] Forked Java VM exited abnormally. Please note the time in the report does not reflect the time until the VM exit.
    [junit] junit.framework.AssertionFailedError: Forked Java VM exited abnormally. Please note the time in …
Run Code Online (Sandbox Code Playgroud)

java ant junit jenkins

4
推荐指数
1
解决办法
3484
查看次数

标签 统计

java ×3

ant ×1

jenkins ×1

junit ×1

linux ×1

virtual-machine ×1