Skip to content
Advertisement

Tag: spring-boot-test

Spring Boot Application is starting up from a JUnit test but unable to access through URL

I have a JUnit Test that starts my spring boot appcliation (Application.java). If I run the JUnit test, Application is successfully starting up, but not accessible through url Application Logs: When I tried to access the application through url ‘http://localhost:8080/process’, It says Site can’t be reached. Answer Why would you do such thing? This should be a unit test and

Advertisement