标签:blog provided artifact compile group scope art 注意事项 bsp
1.一定要使用war包
<packaging>war</packaging>
2.将provided改为compile,具体如下:
<dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <scope>provided</scope> </dependency>
需要修改为
<dependency> <groupId>org.apache.tomcat.embed</groupId> <artifactId>tomcat-embed-jasper</artifactId> <scope>compile</scope> </dependency>
标签:blog provided artifact compile group scope art 注意事项 bsp
原文地址:http://www.cnblogs.com/wangfan0840/p/6130631.html