ITeye博客

Maven compiler 编译 失败

wukele · 2014-11-26 09:16 · 工作 · 编程语言 · Markdown

1.之前按照很多网上方法试了都不行。

2. 后来先发现运行compiler 命令之前,先右击项目——》mavne-》update  project 这个操作编译就能通过

 

3.pom.xml的编译插件

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

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

<version>2.3.2</version> 

<configuration>

<encoding>UTF-8</encoding>

<source>1.6</source>

<target>1.6</target>

</configuration>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。