2019-04-19(Spring-B00t版本降级整合Serv

2019-04-19  本文已影响0人  热爱源于追求

1.pom.xml

    <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

2

3.修改application.yml

删除文件内容中ms(毫秒)后缀 1.x格式有所不同

4.控制层response貌似介绍不支持(待验证)。

上一篇下一篇

猜你喜欢

热点阅读