Code does not update in JPA hibernate in Eclipse

0

Hello everyone, I'm doing a system to sharpen my techniques a bit and I came across a problem. I modified my code for a while but when I was debugging it looked like it was running the old code. I am doing a crud with Hibernate JPA and Eclipse. If you can help me! For ease of understanding, it looks like I'm messing with my HTML code and when I give F5 in the browser it does not update to the new code!

    
asked by anonymous 03.09.2018 / 05:03

1 answer

1

Your code is probably not being updated on the application server. Assuming you are using maven lipe the cache and redo the application package with the following command:

mvn clean package

If you prefer to do everything within your IDE, simply search for "Limpar e Construir" and then restart or redeploy your application server.

    
03.09.2018 / 12:58