Spring boot + Jersey, Cannot find static resources -
i have configured spring boot load jersey filter.
- spring.jersey.type=filter
i have set jersey property allow static content:
- property(servletproperties.filter_forward_on_404, true);
i have read in spring boot can put content inside resources dir, under directories named 'static', 'public' folders. yet, can never reach index.html page. way have gotten work create webapp dir under src/main , put index.html file in there.
i have tried access page following urls:
http://localhost:8080/app/index.html <-- works webapp dir
i using spring-boot-starter-jersey 1.3.2-release ,
Comments
Post a Comment