Problem
After upgrading the IDE Services server to docker.io/jetbrains/ide-services:2025.5.1.2009 and restarting, the following error messages appear in the logs:
The use of configuration keys that are no longer supported was found in the environment:
Property source 'Config resource 'class path resource [application.yml]' via location 'optional:classpath:/'':
Key: management.endpoint.flyway.enabled
Line: 28
Reason: Replacement key 'management.endpoint.flyway.access' uses an incompatible target type
Key: management.endpoint.health.enabled
Line: 32
Reason: Replacement key 'management.endpoint.health.access' uses an incompatible target type
Key: management.endpoint.heapdump.enabled
Line: 21
Reason: Replacement key 'management.endpoint.heapdump.access' uses an incompatible target type
Key: management.endpoint.info.enabled
Line: 30
Reason: Replacement key 'management.endpoint.info.access' uses an incompatible target type
Key: management.endpoint.metrics.enabled
Line: 26
Reason: Replacement key 'management.endpoint.metrics.access' uses an incompatible target type
Key: management.endpoint.threaddump.enabled
Line: 24
Reason: Replacement key 'management.endpoint.threaddump.access' uses an incompatible target type
Key: management.endpoints.enabled-by-default
Line: 15
Reason: Replacement key 'management.endpoints.access.default' uses an incompatible target type
Cause
The logged errors are due to deprecated Spring Actuator properties which have been updated to newer access property standards in the latest IDE Services version.
Resolution
These warnings can be safely ignored as they do not affect the functionality of IDE Services. However, to ensure clean logs and to align with the updated version, replacing the deprecated keys with their supported counterparts is recommended.
Replace the affected lines in the application.yml file with the following configuration:
management:
endpoints:
access:
default: none
endpoint:
health:
access: read-only
info:
access: read-only
metrics:
access: read-only
flyway:
access: read-only
threaddump:
access: read-only
heapdump:
access: none
This update will prevent deprecated warnings from appearing in the logs while maintaining the intended configuration functionality.
Comments
0 comments
Please sign in to leave a comment.