aspose file tools*
The moose likes Spring and the fly likes java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog" Watch "java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog" New topic
Author

java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog

pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 323

Hi,

I'm getting the error "java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog" for the below code.
I'm using Tomcat 7.



mvc-dispatcher-servlet.xml


Web.xml :-


HelloWorldPage.jsp:-


I'm getting this error for other projects as well.

My build path contains : -
org.springframework.beans-3.1.0.RELEASE.jar
org.springframework.context-3.1.0.RELEASE.jar
org.springframework.core-3.1.0.RELEASE.jar
org.springframework.web-servlet-3.1.0.RELEASE.jar
org.springframework.web-3.1.0.RELEASE.jar
jstl-api-1.2.jar
standard-1.1.2.jar

Please advise.


Thanks,
Pramod
pramod talekar
Ranch Hand

Joined: Apr 26, 2010
Posts: 323

adding metadata-complete="true" in <web-app> does solve the problem but I need to know the reason for this error.
Also corrected the build path with more jars .

Please advise.

Regards,
Pramod Talekar
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.ClassNotFoundException: org.apache.xml.resolver.Catalog