-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test-softlayer-rhel74-x64-1 got "Could not find or load main class org.apache.tools.ant.launch.Launcher" #283
Comments
This likely implies the rhel ansible playbook needs to be looked at, as the ant installation does not seem correct/complete. |
Where does this code expect ANT_HOME to be located? |
It can be reproduced using https://ci.adoptopenjdk.net/view/work%20in%20progress/job/test_personal/ I just launched one: It happened when using: ant -f scripts/build_test.xml -DTEST_ROOT=/home/jenkins/workspace/test_personal/openjdk-tests/TestConfig/.. -DBUILD_ROOT=/home/jenkins/workspace/test_personal/openjdk-tests/TestConfig/../../jvmtest -DJAVA_BIN=/home/jenkins/workspace/test_personal/openjdkbinary/j2sdk-image/bin -DJAVA_VERSION=SE90 -DJCL_VERSION=current -DBUILD_LIST=openjdk_regression -DRESOURCES_DIR=/home/jenkins/workspace/test_personal/openjdk-tests/TestConfig/../../jvmtest/TestConfig/resources -DJCK_ROOT= -DJVM_VERSION=openjdk9 Note: it only happened when doing tests with java9. Same issue with test-softlayer-rhel69-x64-1. No issue with unbuntu. |
@bblondin - if you like to reproduce this test after making changes to that machine, you can go to Sophia's test_personal build 412 while its around, and hit the rebuild button. |
Something different happens if I run the ant command at the command line:
|
@pnstanton the error is because ant-contrib is not installed or installed uncorrectly. #269 |
As far as I can see this in place now on the machine - closing. Please re-open if required |
test-softlayer-rhel74-x64-1 got "Could not find or load main class org.apache.tools.ant.launch.Launcher"
15:51:32 Error: Could not find or load main class org.apache.tools.ant.launch.Launcher
15:51:32 Caused by: java.lang.ClassNotFoundException: org.apache.tools.ant.launch.Launcher
15:51:32 make: *** [compile] Error 1
https://ci.adoptopenjdk.net/view/System%20tests/job/openjdk10_hs_systemtest_x86-64_linux/26/console
https://ci.adoptopenjdk.net/view/System%20tests/job/openjdk10_hs_systemtest_x86-64_linux/26/console
The text was updated successfully, but these errors were encountered: