在编译的模块的pom文件中加上

 <build>  
    <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> 

 

相关文章:

  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
  • 2021-12-07
  • 2021-07-19
猜你喜欢
  • 2022-12-23
  • 2021-04-14
  • 2021-09-09
  • 2021-07-04
  • 2021-08-10
  • 2021-11-22
  • 2022-12-23
相关资源
相似解决方案