0
点赞
收藏
分享

微信扫一扫

maven工程转web工程


1.前言
如题。
2.代码
Java代码 收藏代码
直接在pom.xml里面的build节点,加上如下插件,然后maven--->update project就可以了

<plugins> 

 <plugin> 

 <groupId>org.apache.maven.plugins</groupId> 

 <artifactId>maven-compiler-plugin</artifactId> 

 <version>2.3.2</version> 

 <configuration> 

 <source>1.6</source> 

 <target>1.6</target> 

 </configuration> 

 </plugin> 

 </plugins>

举报

相关推荐

0 条评论