This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 3057
    
  38

Moving to Struts forum.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- 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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts java.lang.IllegalAccessException