Spring Error loading heap loading

I am working with Spring Boot 1.4.1 using the Spring boot gradle plugin, so it uses the Spring 4.3.3 framework. Downloading my application, I get this error, it makes me go blank:

[timestamp=23:49:24.983] [thread="main"] [session="undefined"] [request="undefined"] [level=WARN ] [logger=o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext] [class=org.springframework.context.support.AbstractApplicationContext] [line=549] 
- Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'heapdumpMvcEndpoint': Could not bind properties to HeapdumpMvcEndpoint (prefix=endpoints.heapdump, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false); nested exception is org.springframework.validation.BindException: org.springframework.boot.bind.RelaxedDataBinder$RelaxedBeanPropertyBindingResult: 1 errors

***************************
APPLICATION FAILED TO START
***************************

Description:

Binding to target org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint@29897daf failed:

    Property: endpoints.heapdump.path
    Value: null
    Reason: may not be null


Action:

Update your application configuration

I have no idea what parts of my code are showing you guys this error excites me. If anyone has any ideas, I can start sending my build file, my application class, etc.

The error says something about a bean with the name 'heapdumpMvcEndpoint' and the endpoints.heapdump.path property. I tried adding "endpoints.heapdump.path" to my application properties and it did not work.

+4
source share

Source: https://habr.com/ru/post/1659682/


All Articles