aspose file tools*
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
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 karve
Ranch Hand

Joined: Dec 29, 2009
Posts: 186
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 karve
Ranch Hand

Joined: Dec 29, 2009
Posts: 186
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://aspose.com/file-tools
 
subject: getting error as Dispatcher initialization failed Unable to load configuration
 
Similar Threads
Struts 2 error (first struts 2 application)
Error in Struts2 application
First Struts Application + Unable to load configuration
Struts : Unable to load bean
Struts 2 Problem - The module has not been deployed.. Please help