java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

Jenkins JIRA | bhupender singh | 4 years ago
  1. 0

    1) Is it mandatory to configure klockwork installation in jenkin's global configurations? if yes what is the meaning of project port (default 1106)? is it server port that we need to fill here? 2) we have upgraded the klocwork plugin for jenkins to 1.41.1 and if we configure it for "Klocwork v9.6 or later" then it doesn't do anything on klockwork server (i.e updating database for this new build) and also klocwork reports are not available for klocwork 9.6 but only klocwork review is available. 3) As we are using Klocwork version 9.6 and it doesn't generate xml file for reports automatically, manually we have generated report file but when we try to use it, it gives error as below: Starting the klocwork analysis. Processing 1 files with the pattern 'klocwork_result.xml'. FATAL: javax/xml/bind/JAXBException java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:78) at com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:37) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:104) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:711) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:686) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:633) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 4 years ago | bhupender singh
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
  2. 0

    1) Is it mandatory to configure klockwork installation in jenkin's global configurations? if yes what is the meaning of project port (default 1106)? is it server port that we need to fill here? 2) we have upgraded the klocwork plugin for jenkins to 1.41.1 and if we configure it for "Klocwork v9.6 or later" then it doesn't do anything on klockwork server (i.e updating database for this new build) and also klocwork reports are not available for klocwork 9.6 but only klocwork review is available. 3) As we are using Klocwork version 9.6 and it doesn't generate xml file for reports automatically, manually we have generated report file but when we try to use it, it gives error as below: Starting the klocwork analysis. Processing 1 files with the pattern 'klocwork_result.xml'. FATAL: javax/xml/bind/JAXBException java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:78) at com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:37) at hudson.FilePath.act(FilePath.java:842) at hudson.FilePath.act(FilePath.java:824) at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:104) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:711) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:686) at hudson.model.Build$RunnerImpl.post2(Build.java:162) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:633) at hudson.model.Run.run(Run.java:1463) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239)

    Jenkins JIRA | 4 years ago | bhupender singh
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
  3. 0

    [0.41.20] Game crashes on Java 9-ea

    GitHub | 4 months ago | MGM175
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
  6. 0

    JAXBContext throws exception

    Oracle Community | 1 decade ago | 843834
    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      javax/xml/bind/JAXBException

      at com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke()
    2. com.thalesgroup.hudson
      KloParserResult.invoke
      1. com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:78)
      2. com.thalesgroup.hudson.plugins.klocwork.parser.KloParserResult.invoke(KloParserResult.java:37)
      2 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:842)
      2. hudson.FilePath.act(FilePath.java:824)
      2 frames
    4. com.thalesgroup.hudson
      KloPublisher.perform
      1. com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:104)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      2. hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:711)
      3. hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:686)
      4. hudson.model.Build$RunnerImpl.post2(Build.java:162)
      5. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:633)
      6. hudson.model.Run.run(Run.java:1463)
      7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      8. hudson.model.ResourceController.execute(ResourceController.java:88)
      9. hudson.model.Executor.run(Executor.java:239)
      9 frames