callicoder / spring-security-react-ant-design-polls-app

Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
https://www.callicoder.com/spring-boot-spring-security-jwt-mysql-react-app-part-1/
1.77k stars 1.07k forks source link

error loading home page spring-server-side #21

Open sirajkrm opened 5 years ago

sirajkrm commented 5 years ago

hey dude thanks for the interesting projects!

I got an issue running the polling-app-server compiling, building and running the app is working fine but when I open browser, access link with port 8080 it shows me the Whitelabel Error Page.

I've searched for a fix, but no luck

the only addition is that I've added the thymeleaf dependency in pom.xml file

**

org.springframework.boot spring-boot-starter-thymeleaf

**

also, created error folder : src/main/resources/templates/error added an error web page under : src/main/resources/templates/error/error.html

now the Whitelabel Error Page is replaced with the error page I've created but no luck getting the home page working or other links like /api/auth /api/signin etc...

I noticed the exception folder in your projects, but didn't get if it's useful or not the changes I made.

could you please look into this, update the projects ? much appreciation!

P.S : I was able tu run the polling-app-client just fine!

OS : ubuntu 18.04 Maven version : 3.6.0 Java version : 1.8.0_222 Spring boot version as pom.xml : 2.1.6

sirajkrm commented 5 years ago

console on chrome showing this details when trying to sign up from polling-app-client connection is refused from spring boot side (where the issue)

image