Skip to content
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

jdk17 + springboot3 use jenkins-client-0.3.8 create jenkins bean fail. throw java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException #505

Open
origin-meta opened this issue Jul 11, 2024 · 0 comments
Labels

Comments

@origin-meta
Copy link

Jenkins and plugins versions report

Environment
Paste the output here

What Operating System are you using (both controller, and any agents involved in the problem)?

use windows os system. base jdk17&springboot3 develop

Reproduction steps

  1. import dependency (jdk17 + jenkins-client-0.3.8 + springboot3)
  2. inject bean
     @Bean
     public JenkinsServer jenkinsServer() throws URISyntaxException {
         return new JenkinsServer(new URI(url), user, token);
     }
    
  3. run application

Expected Results

system success running

Actual Results

Exception in thread "main" java.lang.IllegalStateException: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Anything else?

No response

Are you interested in contributing a fix?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant