This warning on your Tomcat stderr is becuase you've included a Servlet.class in your war. You don't need to, it is supplied by the Tomcat container: JAR Files You Should Never Include In Your Webapp
But if you remove it your Maven build fails? Use <scope>provided</scope> it does exactly what you need: Maven Dependency Scope
No comments:
Post a Comment