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

Jenkins JIRA | Martin Kutter | 3 years ago
  1. 0

    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/

    Jenkins JIRA | 3 years ago | Martin Kutter
    java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient
  2. 0

    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/

    Jenkins JIRA | 3 years ago | Martin Kutter
    java.lang.ClassNotFoundException: org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient
  3. 0

    Servlet Content Initilizer not created

    Stack Overflow | 7 months ago | Meenakshi Rathi
    java.lang.ClassNotFoundException: com.sun.jersey.server.impl.container.servlet.JerseyServletContainerInitializer
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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}

    Liferay Issues | 2 years ago | Hong Zhao
    java.lang.ClassNotFoundException: com.liferay.portlet.asset.model.AssetTagPropertySoap
  6. 0

    Eclipse Community Forums: BIRT ยป Chart

    eclipse.org | 1 year ago
    org.eclipse.birt.report.engine.api.EngineException: CREATE_EXTENSION_FAIL
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.ClassNotFoundException

    org.jvnet.hudson.plugins.fortify360.fortifyclient.FortifyClient

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
    2 frames
  3. org.jvnet.hudson
    FortifyClientClassLoader.findClass
    1. org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.findClass(FortifyClientClassLoader.java:196)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClassHelper(ClassLoader.java:760)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:737)
    3. java.lang.ClassLoader.loadClass(ClassLoader.java:707)
    3 frames
  5. org.jvnet.hudson
    FPRPublisher.perform
    1. org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:266)
    2. org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178)
    2 frames
  6. hudson.plugins.promoted_builds
    Promotion$RunnerImpl.doRun
    1. hudson.plugins.promoted_builds.Promotion$RunnerImpl.build(Promotion.java:224)
    2. hudson.plugins.promoted_builds.Promotion$RunnerImpl.doRun(Promotion.java:166)
    2 frames
  7. Hudson
    Run.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:562)
    2. hudson.model.Run.execute(Run.java:1665)
    3. hudson.model.Run.run(Run.java:1612)
    3 frames
  8. hudson.plugins.promoted_builds
    Promotion.run
    1. hudson.plugins.promoted_builds.Promotion.run(Promotion.java:111)
    1 frame
  9. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:246)
    2 frames