Code does not update in Hibernate JPA in Eclipse

Asked

Viewed 65 times

0

Hello guys I’m making a system to sharpen a little my techniques and I came across a problem. I modified my code a little while ago but when I went to debug it looked like it was running the old code. I’m doing a crud with Hibernate JPA and Eclipse. If you can help me! To facilitate understanding, it seems that I am moving my HTML code and when I give F5 in the browser does not update to the new code!

1 answer

1

Your code is probably not being updated on the application server. Suppose you are using Maven Cache and redo the application package with the following command:

mvn clean package

If you prefer to do everything within your IDE just look around "Limpar e Construir" and then reboot or reimplant your application server.

  • I’m using Eclipse EE and I didn’t find this option.

  • right click on the project, go to run as, selects maven clean and then maven build

Browser other questions tagged

You are not signed in. Login or sign up in order to post.