1.pom.xml
-
修改pom文件封掉parent
1 - 引入相关pom
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.huawei.paas.cse</groupId>
<artifactId>cse-dependency</artifactId>
<version>${cse.version}</version> <--2.3.39.8-->
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>com.huawei.paas.cse</groupId>
<artifactId>cse-solution-service-engine</artifactId>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.servicecomb</groupId>
<artifactId>spring-boot-starter-transport</artifactId>
</dependency>
</dependencies>
2.修改idea Language level
23.修改application.yml
删除文件内容中ms(毫秒)后缀 1.x格式有所不同
4.控制层response貌似介绍不支持(待验证)。
网友评论