SpringBoot项目将容器从Tomcat换成Liberty

2019-03-20  本文已影响0人  CaptainXero
背景概述
详细步骤
  1. 配置Server,在Server下点击Add,添加Liberty服务即可。 Snipaste_2019-03-20_17-54-49.png
  1. 在项目pom文件中进行配置:
<profiles>
      <profile>
            <id>profileLiberty</id> 
            <properties>
                <profiles.sharedjar.exclude></profiles.sharedjar.exclude>
            </properties>
            <activation> 
                <activeByDefault>true</activeByDefault> 
            </activation> 
        </profile>
 </profiles>
上一篇 下一篇

猜你喜欢

热点阅读