java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient

tip

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • On uploading a FPR to a fortify 360 server, the plugin writes the following error message into the buildlog: Error uploading to F360 Server: https://fortify.......de/ssc java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.findClass(FortifyClientClassLoader.java:196) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760) at java.lang.ClassLoader.loadClass(ClassLoader.java:737) at java.lang.ClassLoader.loadClass(ClassLoader.java:707) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:266) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:224) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:166) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:111) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) This is probably the same as https://github.com/hudson3-plugins/fortify360-plugin/issues/1 , though the linked report does not explain the error. I think the error is due to this change https://github.com/jenkinsci/maven-plugin/commit/97b452ecc95a5546c471198126834f770a63a249 implemented in Jenkins-1.519 due to https://issues.jenkins-ci.org/browse/JENKINS-15120. As a result of this change, the plugin's resources are no longer exploded into WEB-INF/classes, but kept in a classes.jar in the plugin's WEB-INF/lib directory. Thus, the FortifyClientClassloader creates a URL similar to jar:file:/var/lib/jenkins/plugins/fortify360/WEB-INF/lib/classes.jar!/fortifyclient-2.6.5.jar and adds it to it's URL list. On loading the class, the FortifyClientClassLoader uses the methods from the default Java Classloader - which does not support nested jars. This results in the above error message. I think the strategy described here could resolve the issue: http://www.ibm.com/developerworks/library/j-onejar/
    via by Martin Kutter,
  • On uploading a FPR to a fortify 360 server, the plugin writes the following error message into the buildlog: Error uploading to F360 Server: https://fortify.......de/ssc java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.findClass(FortifyClientClassLoader.java:196) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760) at java.lang.ClassLoader.loadClass(ClassLoader.java:737) at java.lang.ClassLoader.loadClass(ClassLoader.java:707) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:266) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:224) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:166) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:111) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) This is probably the same as https://github.com/hudson3-plugins/fortify360-plugin/issues/1 , though the linked report does not explain the error. I think the error is due to this change https://github.com/jenkinsci/maven-plugin/commit/97b452ecc95a5546c471198126834f770a63a249 implemented in Jenkins-1.519 due to https://issues.jenkins-ci.org/browse/JENKINS-15120. As a result of this change, the plugin's resources are no longer exploded into WEB-INF/classes, but kept in a classes.jar in the plugin's WEB-INF/lib directory. Thus, the FortifyClientClassloader creates a URL similar to jar:file:/var/lib/jenkins/plugins/fortify360/WEB-INF/lib/classes.jar!/fortifyclient-2.6.5.jar and adds it to it's URL list. On loading the class, the FortifyClientClassLoader uses the methods from the default Java Classloader - which does not support nested jars. This results in the above error message. I think the strategy described here could resolve the issue: http://www.ibm.com/developerworks/library/j-onejar/
    via by Martin Kutter,
  • Steps to reproduce: 1. Compile the latest master bundle. 2. Start the bundle, watch console. Expected result: Portal start without any exception in console. Actual result: ClassNotFoundException occurred in console. {code} 03:02:24,799 INFO [localhost-startStop-1][UpgradeProcess:163] Upgrading com.liferay.quick.note.web.uprade.QuickNoteWebUpgrade$1 03:02:24,803 INFO [localhost-startStop-1][UpgradeProcess:173] Completed upgrade process com.liferay.quick.note.web.uprade.QuickNoteWebUpgrade$1 in 4ms 03:02:25,413 ERROR [Thread-47][WSDDDeployableItem:206] Unable to deploy typemapping: {http://model.asset.portlet.liferay.com}AssetTagPropertySoap java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100) at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183) at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542) at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253) at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233) at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192) at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139) at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156) at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88) at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109) at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73) at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73) at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185) at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396) at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112) at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:231) at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:326) 03:02:25,417 INFO [Thread-47][WSDDDeployment:211] Ignoring non-fatal exception org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap_java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap__ at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)__ at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)__ at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)__ at java.security.AccessController.doPrivileged(Native Method)__ at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)__ at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)__ at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)__ at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)__ at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)__ at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)__ at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192)__ at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)__ at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)__ at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)__ at org.apache.axis.AxisEngine.init(AxisEngine.java:172)__ at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)__ at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)__ at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)__ at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)__ at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)__ at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)__ at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)__ at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)__ at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)__ at javax.servlet.GenericServlet.init(GenericServlet.java:160)__ at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:231)__ at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:326)___org.apache.axis.deployment.wsdd.WSDDNonFatalException: java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap_java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap__ at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)__ at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)__ at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:187)__ at java.security.AccessController.doPrivileged(Native Method)__ at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)__ at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)__ at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificType(WSDDTypeMapping.java:183)__ at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:542)__ at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)__ at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)__ at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192)__ at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)__ at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)__ at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)__ at org.apache.axis.AxisEngine.init(AxisEngine.java:172)__ at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)__ at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)__ at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)__ at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)__ at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)__ at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)__ at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)__ at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)__ at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)__ at javax.servlet.GenericServlet.init(GenericServlet.java:160)__ at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:231)__ at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:326)____ at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:561)__ at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253)__ at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233)__ at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192)__ at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139)__ at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65)__ at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179)__ at org.apache.axis.AxisEngine.init(AxisEngine.java:172)__ at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)__ at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88)__ at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109)__ at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73)__ at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73)__ at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185)__ at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396)__ at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112)__ at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156)__ at javax.servlet.GenericServlet.init(GenericServlet.java:160)__ at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:231)__ at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:326)__ [Sanitized] at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDService.java:561) at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java:253) at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService.java:233) at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeployment.java:192) at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139) at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocument.java:65) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156) at org.apache.axis.server.AxisServer.<init>(AxisServer.java:88) at org.apache.axis.server.DefaultAxisServerFactory.createServer(DefaultAxisServerFactory.java:109) at org.apache.axis.server.DefaultAxisServerFactory.getServer(DefaultAxisServerFactory.java:73) at org.apache.axis.server.AxisServer.getServer(AxisServer.java:73) at org.apache.axis.transport.http.AxisServletBase.getEngine(AxisServletBase.java:185) at org.apache.axis.transport.http.AxisServletBase.getOption(AxisServletBase.java:396) at org.apache.axis.transport.http.AxisServletBase.init(AxisServletBase.java:112) at org.apache.axis.transport.http.AxisServlet.init(AxisServlet.java:156) at javax.servlet.GenericServlet.init(GenericServlet.java:160) at com.liferay.util.axis.AxisServlet.doInit(AxisServlet.java:231) at com.liferay.util.axis.AxisServlet$InitThread.run(AxisServlet.java:326) {code}
    via by Hong Zhao,
  • Eclipse Community Forums: BIRT » Chart
    via by Unknown author,
  • Solr slave replication server won't start
    via Stack Overflow by Kura
    ,
    • java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.findClass(FortifyClientClassLoader.java:196) at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760) at java.lang.ClassLoader.loadClass(ClassLoader.java:737) at java.lang.ClassLoader.loadClass(ClassLoader.java:707) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:266) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:224) at hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:166) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562) at hudson.model.Run.execute(Run.java:1665) at hudson.model.Run.run(Run.java:1612) at hudson.plugins.promoted_builds.Promotion.run(Promotion.java:111) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    444 more bugmates