• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Bear Bibeault
  • Liutauras Vilda
  • Devaka Cooray
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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

 
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
pramod talekar
Ranch Hand
Posts: 367
Eclipse IDE Opera Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
That new kid is a freak. Show him this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!