aspose file tools*
The moose likes Struts and the fly likes struts  java.lang.IllegalAccessException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts  java.lang.IllegalAccessException" Watch "struts  java.lang.IllegalAccessException" New topic
Author

struts java.lang.IllegalAccessException

Puneet Soni
Greenhorn

Joined: Aug 08, 2008
Posts: 18

Hi all,
In my project which is in struts i have an abstract Base AAction class.
LoginAction class extends this class. This class is concrete.
in struts-config.xml i am calling LoginAction class. iT gives error as.

java.lang.IllegalAccessException : No action instance for path /xxxxx could be created.

Please help me out.
Thanks in advanxce.

Another Hint: If i make the Base Action class as concrete & change strruts-config.xml accordingly then i am able to run the action class without any error.
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 2891
    
  19

Moving to Struts forum.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- How to Ask a Question
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Please read ItDoesntWorkIsUseless and TellTheDetails: you wouldn't expect an auto mechanic to diagnose and solve a problem with your car without being able to look at the car. We're not at your machine and have no other information other than what you choose to share--without knowing what's happening, what you expected, what (if any) errors you received, and so on, it's impossible to help.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts java.lang.IllegalAccessException
 
Similar Threads
struts 1.3 hello world
STRUTS - Remebering page access after login
struts hello world
An ActionForm populated in one Action is not getting its values
Struts2 with Display tag issue