導入其餘maven項目有時候會出現錯誤,說明使用jdk不匹配目前的,或者報錯maven
能夠有其餘方式解決或者不理,可是仍是很差看.net
最有效的方式是在 maven 配置文件裏面進行說明blog
http://blog.csdn.net/kqygww/article/details/12922135get
- <profile>
- <id>jdk17</id>
- <activation>
- <activeByDefault>true</activeByDefault>
- <jdk>1.7</jdk>
- </activation>
- <properties>
- <maven.compiler.source>1.7</maven.compiler.source>
- <maven.compiler.target>1.7</maven.compiler.target>
- <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
- </properties>
- </profile>
![](http://static.javashuo.com/static/loading.gif)