腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(1090)
视频
沙龙
2
回答
Spring
Boot
/
actuator
根
终
结点
返回
404
、
、
、
、
在生产环境中,我想禁用/
actuator
端点,但仍然允许使用/
actuator
/health。我已经使用SecurityConfigurerAdapter尝试了下面的代码,但它
返回
了500。我想
返回
一个
404
,并得到一个“页面未找到”的错误页面。任何帮助都是非常感谢的。super.configure(http); http.authorizeRequests().antMatchers("/
浏览 60
提问于2019-10-22
得票数 0
1
回答
执行器不公开
Spring
Boot
v2.4.3中的端点
、
、
我想公开应用程序中的所有终
结点
。>
spring
-
boot
-starter-web</artifactId> <dependency> <artifactId>
spring
-
boot
-starter-
actuato
浏览 6
提问于2021-06-25
得票数 1
回答已采纳
1
回答
Spring
执行器'/auditevents‘终
结点
返回
404
、
、
、
调用/
actuator
/auditevents终
结点
时出现
404
错误。仔细看一下,我发现可用的端点列表不包括/auditevents端点。pom.xml依赖项 <dependency> <artifactId>
spring
-
boot
-starter-
actuator
>
浏览 25
提问于2020-04-19
得票数 4
回答已采纳
1
回答
spring
boot
执行器无法按预期工作
、
、
我开始学习
spring
boot
,我刚刚在我的pom.xml中导入了我的弹簧驱动器。现在,端点工作正常,并且下面的终
结点
向我显示以下信息:There was an unexpected error (type=Not Fo
浏览 32
提问于2021-09-18
得票数 0
2
回答
为什么我的应用程序中没有启用关机端点?
、
、
我正在尝试在我的
Spring
应用程序中添加一个关闭端点
actuator
/shutdown,就像this tutorial中解释的那样,这样我就可以使用像curl -X POST localhost:8080/
actuator
/shutdown这样的调用来优雅地关闭应用程序。我添加了 <dependency> <artifactId><
浏览 11
提问于2020-04-10
得票数 1
回答已采纳
1
回答
如何将
Spring
Boot
配置为按字母顺序在基本路径'/
actuator
‘中显示自定义@Endpoint?
、
在
Spring
Boot
2.4.1中。/
actuator
基本路径how /springhost下,如下所示: ? 从上面开始是第二个链接或项目。情况是,它没有位于正确的位置,如所有其他端点,它根据字母顺序 如何将
Spring
Boot
配置为自动完成此操作?
浏览 4
提问于2021-01-04
得票数 0
回答已采纳
2
回答
日志记录执行器运行状况调用,即使已排除
、
、
我正在为
Spring
Boot
服务使用Zolando日志(版本2.1.6
spring
boot
版本,1.13.0日志版本),即使执行器健康端点被指定为已排除,它也会被记录下来。当包含在yaml文件中时,可以正确排除其他终
结点
。以下是yaml文件的相关部分: exclude: - /
actuator
/** -
浏览 1
提问于2019-07-23
得票数 3
1
回答
即使在设置server.servlet.contextPath之后,弹簧执行器仍给出
404
未找到错误
、
、
、
、
我有一个
spring
batch项目(使用Gradle)。我想要的项目是与执行器集成。我已经将此添加到了gradle implementation "org.springframework.
boot
:
spring
-
boot
-starter-
actuator
"中 在application.yamllocalhost:8083/test/health时,我得到了错误- { "timestamp": "2020-09-21T18:36
浏览 96
提问于2020-09-22
得票数 0
1
回答
使用
spring
-
boot
-
actuator
会改变
spring
应用程序的上下文
根
吗?
、
根据的说法,通过在pom.xml中使用
spring
-
boot
-
actuator
依赖项,我可以从
actuator
端点中获益。然而,我观察到它破坏了我现有的我的
spring
应用程序(它不是
spring
-
boot
应用程序)。<artifactId>
spring
-
boot
-
actuator
</artifactId> <version>1.2.5.RELEA
浏览 1
提问于2015-09-04
得票数 0
14
回答
Spring
Boot
2-执行器指标终
结点
不工作
、
在我的
Spring
Boot
App (2.0.0.M7)中,我设置了application.properties然而,当我点击我得到
404
。
浏览 1
提问于2018-01-29
得票数 38
2
回答
查看当前
Spring
(
Boot
)属性
、
我将
Spring
Boot
应用程序作为.jar文件运行,该文件部分从驻留在jar内的application.yml获取其属性,而另一部分属性则由驻留在jar外的另一个application.yml提供。
浏览 0
提问于2017-03-28
得票数 12
5
回答
无法使执行器端点在遗留的
Spring
启动项目中工作-获取身份验证页面
、
、
、
、
("/trace").permitAll() }http://localhost:8083/service/
actuator
/beans http://localhost:8083/
act
浏览 6
提问于2019-12-23
得票数 2
1
回答
Springboot启动时出现执行器替换错误:management.endpoints.jmx.only-names
、
、
我是
spring
/springboot的新手。我正在尝试启用我的项目中的执行器来控制日志级别,而不需要在yml文件更改后重新启动服务器。Springboot版本-implementation 'org.springframewo
浏览 0
提问于2020-11-28
得票数 0
1
回答
Spring
cloud Camden.SR1 hystrix.stream挂起
、
、
我正在尝试在
Spring
Cloud服务中启用hystrix流,在
spring
启动应用程序中使用Camden.SR1。我通过具有编译时依赖项来启用hystrix:并在应用程序配置中添加@EnableHystrix我使用Brixton.SR6 (因此使用
Spring
Boot
1.3)尝试了同样的方法,hystrix.stream端点可以按预期工作。是我做错了
浏览 2
提问于2016-10-27
得票数 0
3
回答
如何在
Spring
执行器中启用健康
、
、
、
、
我增加了依赖性<groupId>org.springframework.
boot
</groupId> <artifactId>
spring
-
boot
-starter-
actuator
我试图转到http://localhost:8080/
actuator
/health,http://localhost:8080/health,但它
返回
了
浏览 30
提问于2022-01-10
得票数 2
1
回答
Spring
客户端未能向Admin注册
、
、
、
> <artifactId>
spring
-
boot
-starter-
actuator
boot
: url: http://localhost:9090 context-path: /
actuator
当我启动客户端应用程序时<em
浏览 1
提问于2018-11-15
得票数 1
回答已采纳
5
回答
/驱动器/info端点不使用弹簧引导2.5.0
、
、
</groupId> <version>2.5.0</version</artifactId> <name>
spring
-
boot
-test<
浏览 4
提问于2021-06-08
得票数 19
回答已采纳
1
回答
我的
Spring
Boot
Config值从何而来?
、
Spring
Boot
提供了许多方法来配置应用程序和覆盖现有的配置属性(https://docs.
spring
.io/
spring
-
boot
/docs/2.1.13.RELEASE/reference/html/
boot
-features-external-config.html) 在我们的应用程序中,我猜我们使用了其中描述的每一个功能(至少两次)。
浏览 10
提问于2021-09-29
得票数 1
2
回答
带弹簧靴套的执行器
、
、
org.springframework.
boot
spring
-
boot
-starter-jersey 1.4.2.RELEASE org.springframework.
boot
spring
-
boot
-starter-
actuator
1.5.2.RELEASEorg.springframework.<em
浏览 1
提问于2017-04-12
得票数 1
1
回答
找不到'/cloudfoundryapplication‘目录
、
UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, open '/home/vcap/app/dist/cloudfoundryapplication'我不知道'/cloudfoundryapplication‘路径有什么用。这是couldfoundry应用程序的健康检查吗?
浏览 3
提问于2020-07-01
得票数 0
点击加载更多
相关
资讯
Spring Boot 常见错误及解决方法
Spring Boot 2.x 中的 Actuator
Spring Boot Actuator详解与深入应用(一):Actuator 1.x
系统健康检查利器-Spring Boot-Actuator
项目大升级,在SpringBoot3.4.3使用SpringDoc取代springfox-swagger,调整的代码不止一点点
热门
标签
更多标签
云服务器
ICP备案
云直播
腾讯会议
实时音视频
活动推荐
运营活动
广告
关闭
领券