java.lang.NoClassDefFoundError: org/apache/struts/action/PlugIn > > > 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]

struts-user | Thim Anneessens | 2 years ago
  1. 0

    Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

    struts-user | 2 years ago | Thim Anneessens
    java.lang.NoClassDefFoundError: org/apache/struts/action/PlugIn > > > 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]
  2. 0

    Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

    struts-user | 2 years ago | Thim Anneessens
    java.lang.NoClassDefFoundError: org/apache/struts/action/PlugIn > > > 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]
  3. 0

    Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

    struts-user | 2 years ago | Lukasz Lenart
    java.lang.NoClassDefFoundError: org/apache/struts/action/PlugIn 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

    struts-user | 2 years ago | Lukasz Lenart
    java.lang.NoClassDefFoundError: org/apache/struts/action/PlugIn 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]
  6. 0

    Re: Upgrading to Struts 2.3.20 and jCaptcha 1.0

    apache.org | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/struts/action/Action Check you classpath do you really have the struts2 jars in your WEB-INF/lib folder? Johannes ################################################# web: http://www.jgeppert.com twitter: http://twitter.com/jogep 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]

    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

      org/apache/struts/action/PlugIn > > > 2015-02-07 7:08 GMT+01:00 Alireza Fattahi <afattahi@yahoo.com.invalid>: The project uses jCaptcha 1.0, after upgrading from 2.3.16 to Struts 2.3.20 the application could not start. Our project is not using jCaptcha struts integration, so we do not have and jCaptcha configuration ins strust.xml or web.xml, for instance we do **NOT** have below line in struts.xml <plug-in className="com.octo.captcha.module.struts.CaptchaServicePlugin"/> I think some plugin management mechanism is changed so the struts 2.3.20 try to find and start this plugin while 2.3.16 didn't. The error is as below: ERROR finder.ClassFinder Unable to read class [com.octo.captcha.module.struts.image.RenderImageCaptchaAction] Could not load org/apache/struts/action/Action.class - [unknown location]

      at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef()
    2. XWork: Core
      ClassFinder$InfoBuildingClassVisitor.visit
      1. com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:723)
      2. com.opensymphony.xwork2.util.finder.ClassFinder.access$400(ClassFinder.java:71)
      3. com.opensymphony.xwork2.util.finder.ClassFinder$InfoBuildingClassVisitor.extractSuperInterfaces(ClassFinder.java:770)
      4. com.opensymphony.xwork2.util.finder.ClassFinder$InfoBuildingClassVisitor.visit(ClassFinder.java:757)
      4 frames
    3. Felix iPOJO
      ClassReader.accept
      1. org.objectweb.asm.ClassReader.accept(Unknown Source)
      2. org.objectweb.asm.ClassReader.accept(Unknown Source)
      2 frames
    4. XWork: Core
      ClassFinder.<init>
      1. com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:718)
      2. com.opensymphony.xwork2.util.finder.ClassFinder.<init>(ClassFinder.java:113)
      2 frames
    5. Struts 2 Convention Plugin
      ClasspathPackageProvider.loadPackages
      1. org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:390)
      2. org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:347)
      3. org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:53)
      3 frames
    6. XWork
      DefaultConfiguration.reloadContainer
      1. com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:274)
      1 frame