Intellij, Spring Boot and AngularJs

-1

I'm running a project Spring Boot e AngularJs no Intellij and I'm trying to access the webapp folder by browsing (l ocalhost:8080/nomedapasta/index.html ), but it's giving error

  

(There was an unexpected error (type = Not Found, status = 404))

and I could not resolve it. But by eclipse I can access the same.

    
asked by anonymous 02.10.2016 / 16:11

1 answer

1

In the configuration of your server, "Edit Configurations" in "Deployment" configures the Context Path, example "myapp" and use as follows:

localhost: 8080 / myapp / index.html

    
07.10.2016 / 22:45