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