maven编译时报“-source 1.5 中不支持 diamond 运算符”错误

-source 1.5 中不支持 diamond 运算符

 

-source 1.5 中不支持 diamond 运算符

-source 1.5 中不支持 diamond 运算符

-source 1.5 中不支持 diamond 运算符

-source 1.5 中不支持 diamond 运算符

D:\maven3.5.3\conf\settings.xml

    <profile>
    <id>jdk-1.8</id>
    <activation>
        <activeByDefault>true</activeByDefault>
        <jdk>1.8</jdk>
    </activation>
    <properties>
        <maven.compiler.source>1.8</maven.compiler.source>
        <maven.compiler.target>1.8</maven.compiler.target>
        <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
    </properties>
    </profile> 

 

相关文章:

  • 2021-08-09
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-04-03
猜你喜欢
  • 2022-12-23
  • 2021-05-27
  • 2021-11-03
  • 2021-06-10
  • 2021-12-21
相关资源
相似解决方案