0

In a Struts2 application, I'm seeing this error even though there are no issues in the functionality. But I'm seeing some delay in executing every action. This delay is valid for simple actions which return a JSP page with a search box in it. I'm using Struts 2.3.1.1 and xwork-core-2.3.1.1.

ERROR finder.ClassFinder: Unable to read class [WEB-INF.classes.com.***.***.ConfigManagement]
Could not load WEB-INF/classes/com/***/***/ConfigManagement.class - [unknown location]
at com.opensymphony.xwork2.util.finder.ClassFinder.readClassDef(ClassFinder.java:785)

Thanks in advance..

5
  • Without further information it's going to be difficult to help. I'm suspicious of the WEB-INF.classes.etc part, but without knowing anything at all about what that class is, how/where it's used, etc. not sure what you expect. Nov 17, 2012 at 14:40
  • what are steps to follow to produce above error message. Nov 17, 2012 at 17:34
  • This error is repeatedly coming to all of my action classes. It finds the action classes based on my setting in the struts.xml to scan a specific package.
    – Sudarsan
    Nov 17, 2012 at 17:36
  • 1
    issues.apache.org/jira/browse/… Nov 18, 2012 at 17:57
  • @MohanaRaoSV, Thanks for that; I also came across this jira issue. Does this mean this issue should not come after Struts 2.2.3.1? The fact is, I'm using struts2-core-2.3.1.1 in my application :(
    – Sudarsan
    Nov 19, 2012 at 5:00

1 Answer 1

0

This got resolved with the latest Struts (2.3.12) update along with the relevant library files. I should have missed some of the libraries in the previous version of the Struts.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.