您可以通过将以下属性添加到pom.xml文件中来指定Maven源/目标版本
<properties> <maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.target>1.6</maven.compiler.target></properties>

您可以通过将以下属性添加到pom.xml文件中来指定Maven源/目标版本
<properties> <maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.target>1.6</maven.compiler.target></properties>
上一篇 嵌套异常是java.lang.IllegalArgumentException:不是托管类型:class
下一篇 Spring Boot异常:无法打开ServletContext资源[/WEB-INF/dispatcherServlet-servlet.xml]