How to remove Java Persistence entity classes mapped to a deleted project?

-2

Database entity classes mapped to a previous project that was deleted continue to appear if I create a new project with the same name. How to solve with Netbeans 8.2 and Glassfish 4.1 Enterprise application?

    
asked by anonymous 28.06.2017 / 15:11

1 answer

0
  • Close Netbeans.

  • Access the C:\Users\<seu usuário>\AppData\Roaming\NetBeans.2\var\filehistory folder (where 8.2 is the Netbeans version).

  • Delete all subfolders.

  • Reopen Netbeans.

  • With this, you will clear the Netbeans cache and restart it clean, erasing any type of error that was in the cache.

        
    28.06.2017 / 15:35