Spring Boot Tutorial - Error when trying to check service -


i followed steps given in https://spring.io/guides/gs/spring-boot/ building springboot application. using intellij & maven, application started without errors when tried access hpp://localhost:8080. getting error below

whitelabel error page

this application has no explicit mapping /error, seeing fallback.

mon aug 21 08:01:16 ist 2017 there unexpected error (type=not found, status=404). no message available

it's either @restcontroller or @requestmapping annotations missing controller class.

you can compare code completed example here, see if there's missing: https://github.com/spring-guides/gs-spring-boot/blob/master/complete/src/main/java/hello/hellocontroller.java


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -