可在 JSTL 包中使用 exclusion 的方法将 JSTL 与 Tomcat7 冲突的依赖进行排除。
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building article 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ article ---
[INFO] com.xianglesong:article:war:0.0.1-SNAPSHOT
[INFO] +- junit:junit:jar:4.11:test
[INFO] | - org.hamcrest:hamcrest-core:jar:1.3:test
[INFO] +- taglibs:standard:jar:1.1.2:compile
[INFO] +- javax.servlet.jsp.jstl:jstl-api:jar:1.2:compile
[INFO] +- org.glassfish.web:jstl-impl:jar:1.2:compile
[INFO] +- org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- org.slf4j:slf4j-nop:jar:1.6.1:compile
[INFO] +- mysql:mysql-connector-java:jar:5.1.20:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.4:compile
[INFO] | - commons-pool:commons-pool:jar:1.5.4:compile
[INFO] +- commons-dbutils:commons-dbutils:jar:1.5:compile
[INFO] +- org.aspectj:aspectjweaver:jar:1.6.10:compile
[INFO] +- org.springframework:spring-core:jar:4.0.2.RELEASE:compile
[INFO] | - commons-logging:commons-logging:jar:1.1.3:compile
[INFO] +- org.springframework:spring-context:jar:4.0.2.RELEASE:compile
[INFO] | - org.springframework:spring-expression:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework:spring-beans:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:4.0.2.RELEASE:compile
[INFO] | - aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework:spring-tx:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework:spring-webmvc:jar:4.0.2.RELEASE:compile
[INFO] | - org.springframework:spring-web:jar:4.0.2.RELEASE:compile
[INFO] +- org.springframework.security:spring-security-web:jar:4.0.2.RELEASE:com pile
[INFO] | - org.springframework.security:spring-security-core:jar:4.0.2.RELEASE :compile
[INFO] +- org.springframework.security:spring-security-config:jar:4.0.2.RELEASE: compile
[INFO] +- org.apache.poi:poi:jar:3.10-FINAL:compile
[INFO] | - commons-codec:commons-codec:jar:1.5:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.10-FINAL:compile
[INFO] | - dom4j:dom4j:jar:1.6.1:compile
[INFO] | - xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] +- org.apache.poi:poi-ooxml-schemas:jar:3.10-FINAL:compile
[INFO] | - org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] | - stax:stax-api:jar:1.0.1:compile
[INFO] +- org.apache.poi:openxml4j:jar:1.0-beta:compile
[INFO] | - log4j:log4j:jar:1.2.8:compile
[INFO] +- org.apache.poi:ooxml-schemas:jar:1.1:compile
[INFO] +- org.apache.poi:poi-scratchpad:jar:3.10-FINAL:compile
[INFO] +- org.apache.poi:poi-examples:jar:3.10-FINAL:compile
[INFO] +- org.apache.poi:poi-excelant:jar:3.10-FINAL:compile
[INFO] | - org.apache.ant🐜jar:1.8.2:compile
[INFO] | - org.apache.ant:ant-launcher:jar:1.8.2:compile
[INFO] +- org.eclipse.jetty:jetty-server:jar:9.1.0.M0:compile
[INFO] | +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] | - org.eclipse.jetty:jetty-http:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-webapp:jar:9.1.0.M0:compile
[INFO] | - org.eclipse.jetty:jetty-xml:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-servlet:jar:9.1.0.M0:compile
[INFO] | - org.eclipse.jetty:jetty-security:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-servlets:jar:9.1.0.M0:compile
[INFO] | - org.eclipse.jetty:jetty-continuation:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-util:jar:9.1.0.M0:compile
[INFO] +- org.eclipse.jetty:jetty-io:jar:9.1.0.M0:compile
[INFO] +- org.apache.hadoop:hadoop-core:jar:0.20.2:compile
[INFO] | +- commons-cli:commons-cli:jar:1.2:compile
[INFO] | +- xmlenc:xmlenc:jar:0.52:compile
[INFO] | +- commons-httpclient:commons-httpclient:jar:3.0.1:compile
[INFO] | +- commons-net:commons-net:jar:1.4.1:compile
[INFO] | +- org.mortbay.jetty:jetty:jar:6.1.14:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.14:compile
[INFO] | +- tomcat:jasper-runtime:jar:5.5.12:compile
[INFO] | +- tomcat:jasper-compiler:jar:5.5.12:compile
[INFO] | +- org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:compile
[INFO] | +- org.mortbay.jetty:jsp-2.1:jar:6.1.14:compile
[INFO] | | - ant🐜jar:1.6.5:compile
[INFO] | +- commons-el:commons-el:jar:1.0:compile
[INFO] | +- net.java.dev.jets3t:jets3t:jar:0.7.1:compile
[INFO] | +- org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:compile
[INFO] | +- net.sf.kosmosfs:kfs:jar:0.3:compile
[INFO] | +- hsqldb:hsqldb:jar:1.8.0.10:compile
[INFO] | +- oro:oro:jar:2.0.8:compile
[INFO] | - org.eclipse.jdt:core:jar:3.1.1:compile
[INFO] +- org.apache.solr:solr-solrj:jar:4.6.0:compile
[INFO] | +- org.apache.zookeeper:zookeeper:jar:3.4.5:compile
[INFO] | +- commons-io:commons-io:jar:2.1:compile
[INFO] | +- org.noggit:noggit:jar:0.5:compile
[INFO] | +- org.apache.httpcomponents:httpclient:jar:4.2.6:compile
[INFO] | | - org.apache.httpcomponents:httpcore:jar:4.2.5:compile
[INFO] | +- org.apache.httpcomponents:httpmime:jar:4.2.6:compile
[INFO] | - org.codehaus.woodstox:wstx-asl:jar:3.2.7:runtime
[INFO] +- org.apache.solr:solr-core:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-core:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-codecs:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-analyzers-common:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-analyzers-kuromoji:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-analyzers-phonetic:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-highlighter:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-memory:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-misc:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-join:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-queryparser:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-spatial:jar:4.6.0:compile
[INFO] | | - com.spatial4j:spatial4j:jar:0.3:compile
[INFO] | +- org.apache.lucene:lucene-suggest:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-grouping:jar:4.6.0:compile
[INFO] | +- org.apache.lucene:lucene-queries:jar:4.6.0:compile
[INFO] | +- com.carrotsearch:hppc:jar:0.5.2:compile
[INFO] | +- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru: jar:1.2:compile
[INFO] | +- commons-fileupload:commons-fileupload:jar:1.2.1:compile
[INFO] | +- joda-time:joda-time:jar:2.2:compile
[INFO] | +- org.apache.hadoop:hadoop-annotations:jar:2.2.0:compile
[INFO] | +- org.apache.hadoop:hadoop-auth:jar:2.2.0:compile
[INFO] | | - org.slf4j:slf4j-log4j12:jar:1.7.5:runtime
[INFO] | +- org.apache.hadoop:hadoop-common:jar:2.2.0:compile
[INFO] | | +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
[INFO] | | - org.apache.commons:commons-compress:jar:1.4.1:compile
[INFO] | | - org.tukaani:xz:jar:1.0:compile
[INFO] | +- org.apache.hadoop:hadoop-hdfs:jar:2.2.0:compile
[INFO] | +- org.restlet.jee:org.restlet:jar:2.1.1:compile
[INFO] | +- org.restlet.jee:org.restlet.ext.servlet:jar:2.1.1:compile
[INFO] | +- commons-lang:commons-lang:jar:2.6:compile
[INFO] | - com.google.guava:guava:jar:14.0.1:compile
[INFO] +- org.htmlparser:htmlparser:jar:2.1:compile
[INFO] | +- org.htmlparser:htmllexer:jar:2.1:compile
[INFO] | - com.sun:tools:jar:1.5.0:system
[INFO] +- org.jsoup:jsoup:jar:1.7.2:compile
[INFO] +- com.google.code.gson:gson:jar:2.1:compile
[INFO] +- org.apache.commons:commons-lang3:jar:3.1:compile
[INFO] +- com.ckeditor:ckeditor-java-core:jar:3.5.3:compile
[INFO] +- org.im4java:im4java:jar:1.4.0:compile
[INFO] - jdk.tools:jdk.tools:jar:1.7:system
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.359 s
[INFO] Finished at: 2015-10-18T23:20:54+08:00
[INFO] Final Memory: 11M/59M
[INFO] ------------------------------------------------------------------------
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于