-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
jetty-io:9.4.48.v20220622 : while running with mvn test , getting Class not Available #11545
Comments
Jetty 9.x is at End of Community Support. See: To build Jetty 9, you require OpenJDK 8 (MUST be OpenJDK based, eg: IBM based JVMs do not work.) and Maven 3.9.6 |
Oh, and you cannot build Jetty 9 with a OpenJDK versions newer than OpenJDK 11. (so don't attempt to use OpenJDK 17 or OpenJDK 21, it wont work. If you want to use OpenJDK 17 or newer, use Jetty 12) |
I have taken github code and trying to build using jdk 8 . Requirement is, it should also include test cases while building. I got stuck on this issue. |
@shivsrivastava as stated above, jetty-9.4 is end-of-community support. For any further assistance on jetty-9.4, please contact sales@webtide.com to enquire about commercial support. |
I have tried with OpenJDK 8 and Maven 3.9.6 . UT status is getting failed still. Please suggest how to build with UT |
@shivsrivastava as stated above, jetty-9.4 is end-of-community support. For any further assistance on jetty-9.4, please contact sales@webtide.com to enquire about commercial support. |
sure will check and confirm. |
Tried with possible JDK version 8 and Maven , but got failed. |
@shivsrivastava as stated above, jetty-9.4 is end-of-community support. For any further assistance on jetty-9.4, please contact sales@webtide.com to enquire about commercial support. |
I have tried with OpenJDK 17,11,8 and Maven 3.9.6 &3.9.4 . UT status is failing still. |
At last i also got UT failure with OpenJDK18 and Maven 3.9.6 |
I have tried with different JDK version with Maven 3.9.6 but still UT status Failing |
Please update on it. |
@meetankit24 @sourabhmagdum45 @shivsrivastava Jetty 9 is at End of Community Support. You should not expect support here for that version of Jetty. |
Jetty version(s)
jetty-io:9.4.48.v20220622
Jetty Environment
Java version/vendor
(use: java -version)
tried with JDK 8 and above
OS type/version
Windows 10 and Linux
Description
jetty-io:9.4.48.v20220622 : while running with mvn test , getting Class not Available
How to reproduce?
We are trying to build source code with test cases , here are the details.
Java version - 8 and above
Maven - 3.3.1 and above
But we are getting this exception. Also attached log.
Please help me to understand on
build-jetty-io-9.4.48.v20220622-2024-02-27-10-56-35-139-6266227635 (1).txt
which jdk version, Maven version and test command it will work.
"[ERROR] Errors:
[27 11:08:49.924] | [ERROR] URIUtilTest.uriLastSegmentSource:679 » NoSuchFile /tmp/pkgs_raw/jetty-io%20/9.4.48.v20220622/jetty-util/src/test/resources/test-base-resource.jar
[27 11:08:49.924] | [ERROR] PathResourceTest.testNonDefaultFileSystemGetFile:104 » NoSuchFile /tmp/pkgs_raw/jetty-io%20/9.4.48.v20220622/jetty-util/src/test/resources/example.jar
[27 11:08:49.924] | [ERROR] PathResourceTest.testNonDefaultFileSystemGetInputStream:56 » NoSuchFile /tmp/pkgs_raw/jetty-io%20/9.4.48.v20220622/jetty-util/src/test/resources/example.jar
[27 11:08:49.924] | [ERROR] PathResourceTest.testNonDefaultFileSystemGetReadableByteChannel:80 » NoSuchFile /tmp/pkgs_raw/jetty-io%20/9.4.48.v20220622/jetty-util/src/test/resources/example.jar
[27 11:08:49.924] | [ERROR] PathResourceTest.testNonDefaultFileSystemWriteTo:125 » NoSuchFile /tmp/pkgs_raw/jetty-io%20/9.4.48.v20220622/jetty-util/src/test/resources/example.jar
[27 11:08:49.924] | [INFO]"
The text was updated successfully, but these errors were encountered: