在pom.xml里添加如下: <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build>
Maven导入新的依赖后language level和java compiler发生改变
猜你喜欢
转载自blog.csdn.net/qq_34557770/article/details/88794548
今日推荐
周排行