使用Jersey +执行器的弹簧靴

时间:2018-09-18 23:23:04

标签: java maven spring-boot jersey spring-boot-actuator

我无法使Actuator与Spring Boot + Jersey框架一起使用。我在Spring 1.5.3.RELEASE中尝试了以下方法-

  1. 在pom.xml中包含以下依赖项

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-actuator</artifactId>
    </dependency>
    
  2. 通过在application.properties文件中添加以下配置,将Jersey应用程序路径更改为“ / api”。

      

    spring.jersey.application-path = api

请告知如何完成此工作。我也愿意与Spring 2.x一起使用

0 个答案:

没有答案