kelvinyap2014 / northwind-roo

Academic research of Northwind database with Spring Roo, Spring Boot, Thymeleaf, JPA, Docker and CI/ CD deployment automation
GNU General Public License v3.0
1 stars 2 forks source link

Error resolving template "/categories/list" #61

Closed kelvinyap2014 closed 7 years ago

kelvinyap2014 commented 7 years ago

When accessing http://localhost:8080/categories , below error occurred:

An unexpected error has occurred (type=Internal Server Error, status=500). Error resolving template "/categories/list", template might not exist or might not be accessible by any of the configured Template Resolvers

This error happened when starting the application via java -jar application-1.0.0.BUILD-SNAPSHOT-exec.war

There is no such error if starting the application

kelvinyap2014 commented 7 years ago

see https://github.com/spring-projects/spring-boot/issues/1744

kelvinyap2014 commented 7 years ago

see https://github.com/spring-projects/spring-boot/issues/2057

kelvinyap2014 commented 7 years ago

see the fix at https://github.com/wmeints/app-insights-demo/pull/2/commits/8da025992d9d8913fb9d5d1475311d4fcde06c71

kelvinyap2014 commented 7 years ago

Workaround: use "mvn spring-boot:run"