0

Where are the duplications likely to be ?

I have the normal tomcat 7 lib folder, nothing added or taken away.

If I use (so the jar is not deployed):

<dependency>
 <groupId>javax.servlet</groupId>
 <artifactId>jstl</artifactId>
 <version>1.2</version>
 <scope>provided</scope>
</dependency>

I get

javax.servlet.ServletException: java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/ConditionalTagSupport

But when I remove scope provided and deploy the jstl jar I get warnings starting with :

INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
  • Try to run `mvn dependency:tree` and see if you have the `jstl.jar` in several places. – maba Oct 02 '12 at 10:36
  • When I change the one dependy in pom, it fails to deploy ... I thouhgt one of the included libs would contain the duplication – NimChimpsky Oct 02 '12 at 10:40
  • Check out this answer and see if it helps you: http://stackoverflow.com/a/8045562/1350762 – maba Oct 02 '12 at 10:48

0 Answers0