netodevel / cli-spring-boot-scaffold

command line for generate crud and configs for spring boot projects
131 stars 49 forks source link

Whitelabel Error Page #31

Closed 8904591612 closed 7 years ago

8904591612 commented 7 years ago

Thanks a lot for the scaffolding .I followed all the instructions , but it says "Whitelabel Error Page" when I navigate to localhost:8080/users. .I have followed all the steps given in the tutorial.What may be the issue I am unable to make out please help

netodevel commented 7 years ago

Is it probably a thymeleaf error, send me the source of the index.html file?

8904591612 commented 7 years ago

my-project/src/main/resources/templates/data/index.html.This is the source of the index.html file

I have already created my database and tables , the name of table is "datas". It is already filled with data. I navigated to localhost:8080/datas . It is throwing the same error. The error is " Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback."

But when I create the user table using the scaffold command it is working. Is it that I cannot use it for already existing tables?

netodevel commented 7 years ago

Could you upload your project to git? I need to look at the code.

8904591612 commented 7 years ago

https://github.com/8904591612/Spring-Scaffold.

This is the link to my git repository

netodevel commented 7 years ago

thank`s, i will clone your repository

netodevel commented 7 years ago

@8904591612 hey i found of the error, your DemoApplication.class it is inside of package mynewproject, please put your DemoApplication.class inside com.example to find other routes.