-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fixstatus: duplicateA duplicate of another issueA duplicate of another issue
Description
Using Spring Boot 2.0.3.RELEASE and executing application using Spring Boot fat jar with java -jar.
If the application context fails to startup for some reason (for example, a @Bean method throws an exception), I get no stacktrace information. The only log of the error that I get is a warning that just includes the toString() of the exception (logged in AbstractApplicationContext.refresh()). I just have a simple main setup like this:
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}The only way the I can get more useful information is to wrap the call to SpringApplication.run() in a try/catch and log my own exception.
Metadata
Metadata
Assignees
Labels
for: external-projectFor an external project and not something we can fixFor an external project and not something we can fixstatus: duplicateA duplicate of another issueA duplicate of another issue