问题:修改Language level版本时遇到Module "xxx" must not contain source root "xxx" The root already belongs to module问题
解决方法:
在该模块的pom.xml文件中添加jdk的版本即可
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>