nacos-Restful
子模块无法继承父模块的依赖,在父模块中的pom文件中的依赖用
<dependencyManagement></dependencyManagement>
对依赖进行包裹
language level中一直变版本5无法修改成版本8,在pom文件用下面代码修改
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>