This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Struts and the fly likes getting error as Dispatcher initialization failed  Unable to load configuration Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "getting error as Dispatcher initialization failed  Unable to load configuration" Watch "getting error as Dispatcher initialization failed  Unable to load configuration" New topic
Author

getting error as Dispatcher initialization failed Unable to load configuration

maggie joseph
Ranch Hand

Joined: Dec 29, 2009
Posts: 185
Hi,
i am writing Struts 2 app and i have stored all the jar files in my C:\Software\Tomcat 6.0\lib directory...still i get the error as

Tom Reilly
Rancher

Joined: Jun 01, 2010
Posts: 618
C:\Software\Tomcat 6.0\lib
This is a guess. Could the problem be that your directory has a space in it?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

In addition, do *not* put your webapp libs in the Tomcat lib directory: keep them with the webapp.

In your case, you're actually doing *both*, as the error message implies:I *believe* a known issue with spaces in pathnames was corrected, though. Not the problem you're currently having.
maggie joseph
Ranch Hand

Joined: Dec 29, 2009
Posts: 185
i have put all the jar files in my lib directory ..i have removed the jaR FILE FROM c:\Software\tomcat 6.0\webapps/WEB-INF/lib directory....still i am getting the same error......
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

If you are getting the exact same error then you didn't really remove the library, or didn't restart the server, or something.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: getting error as Dispatcher initialization failed Unable to load configuration
 
Similar Threads
Error in Struts2 application
Struts 2 error (first struts 2 application)
Struts 2 Problem - The module has not been deployed.. Please help
Struts : Unable to load bean
First Struts Application + Unable to load configuration