apache tomcat catalina as maven dependency for CORS filter
问题 I'm using org.apache.catalina.filters.CorsFilter in my webapp. So I specify the maven dependency <dependency> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-catalina</artifactId> <version>7.0.50</version> </dependency> Now, If I say the scope is "provide" or "runtime" the server doesn't start, because of java.lang.ClassNotFoundException: org.apache.catalina.filters.CorsFilter This class is not available in the catalina jar from jbossews/lib which is 7.0.40 Is it easy to "upgrade"