-
Notifications
You must be signed in to change notification settings - Fork 36
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
ClassNotFoundException: org.eclipse.jgit.internal.JGitText with jdk21 and spring boot 3.2.x #62
Comments
I tried it with java 21: 12:49 $ ./mvnw --version
Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Maven home: /home/bjerre/.m2/wrapper/dists/apache-maven-3.9.6-bin/439sdfsg2nbdob9ciift5h5nse/apache-maven-3.9.6
Java version: 21.0.1, vendor: Private Build, runtime: /usr/lib/jvm/java-21-openjdk-amd64
Default locale: sv_SE, platform encoding: UTF-8
OS name: "linux", version: "5.15.0-94-generic", arch: "amd64", family: "unix" Running the Is it just an exception or does it also not work as expected? |
is it just an exception, it works well.
Here you have and output from mvn generate-resources -X |
Same problem happens in plugin git-commit-id-maven-plugin, the problem is a change in the library eclipse-jgit, and the solution is posted below git-commit-id/git-commit-id-maven-plugin#712
|
I confirm that the following snippet fix the issue: <plugin>
<groupId>se.bjurr.gitchangelog</groupId>
<artifactId>git-changelog-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>6.7.0.202309050840-r</version>
</dependency>
</dependencies>
</plugin> Version 6.9.0 y not in maven central yet |
the 6.9.0 is now published to maven central, but it doesn't fix the problem with ClassNotFoundException: org.eclipse.jgit.internal.JGitText |
Building a project with maven 3.9.6, git-changelog-maven-plugin 2.1.0, spring-boot 3.2.x and jdk21 or graalvm21, build execution works as normal but at the end maven output the following error
plugin configuration is the default provided by spring boot parent
The text was updated successfully, but these errors were encountered: