This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts  java.lang.IllegalAccessException" Watch "struts  java.lang.IllegalAccessException" New topic

struts java.lang.IllegalAccessException

Puneet Soni

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: 3017

Moving to Struts forum.

Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
David Newton

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:
subject: struts java.lang.IllegalAccessException
Similar Threads
Struts2 with Display tag issue
STRUTS - Remebering page access after login
struts hello world
An ActionForm populated in one Action is not getting its values
struts 1.3 hello world