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 REST with Spring (video course) this week in the Spring 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

Joined: Jul 29, 2008
Posts: 3784

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

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.
Don't get me started about those stupid light bulbs.
subject: struts java.lang.IllegalAccessException
It's not a secret anymore!