Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

297
Visualizações
500 error when accessing programs page and wrong redirection to intial page

Problem: I need help fixing an issue with my program involving my GET request and retrieving the endpoints for the /register and /user pages.

Program: Program works as follows: Running the localhost will allow the user to input their details to the page (username, password, address). Once that's completed, this will be saved to an account name (which is editable), be saved via mySQL, and viewable on the /users page. Additionally, the users page will display all registered accounts (ID, email, password, and account(s)), and a link w/ a numbered userID will appear in /users page and clicking on it redirects to the single user's details and allows the user to make any changes to their info. Clicking on their account(s) name in users will do the same.

Link: This is the progress I've made so far. https://github.com/NilesDobbs/Assignment13

Goal: My localhost is retrieving me a 500 status error for both /user and /register pages, and my IDE isn't giving me any errors at runtime until I input the URL paths, which is:

javax.servlet.ServletException: Circular view path [register]: would dispatch back to the current handler URL [/register] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

I need help identifying the issue with my code, getting the pages to run on the host, and also understanding the current error. Any help would be appreciated. Thanks.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Check this issue

But I'm guessing your solution would be to change in POM:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

to:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda