3
respostas

Erro ao iniciar o projeto e Status 404

Boa noite! Estou com problemas para iniciar o projeto-jpa-2 quando eu executo ele o seguinte erro aparece no console.

INFORMAÇÕES: Closing Spring root WebApplicationContext
mai 08, 2019 10:24:55 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
ADVERTÊNCIA: The web application [projeto-jpa-2] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
mai 08, 2019 10:24:55 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
ADVERTÊNCIA: The web application [projeto-jpa-2] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
 com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)



No navegador status 404

Type Status Report

Message /projeto-jpa-2/

Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
3 respostas

Esse warning não é a causa do problema. O erro mesmo é o 404, manda seu código pra gnt dar uma olhada

Boa noite! Qual parte do código você precisa? Porque o código todo é grande.

Oi Thiago tudo bem?

Não manjo do JPA. Mas o ideal é subir o projeto para o github para o Otávio conseguir analizar.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software