- maven工程依赖的jar包无法部署到tomcat中
右键maven工程,选择"属性"


将工程在tomcat重新发布即可。
2、Update Project or use Quick Fix
maven工程总是提示更新,一更新java版本又回到1.5
在pom.xml添加如下:
XML
<build>
<finalName>springmybatis</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>