01.12.2015, 20:59
I attached my project (NetBeans). The class serverSAMPerrr contains a method onEnable. At the start of the method code which is identical to the code in the class NewClass.java. When I run the class NewClass.java there are no errors. But when I run the server with my game mode I get an exception:
javax.persistence.PersistenceException: No Persistence provider for EntityManager named ServerSAMPPU.
I think i get this exception because java does not see my persistence.xml. So I thought that the file persistece.xml need to put in a special server folder.
I use eclipce persistance API.
Sorry for my English.
javax.persistence.PersistenceException: No Persistence provider for EntityManager named ServerSAMPPU.
I think i get this exception because java does not see my persistence.xml. So I thought that the file persistece.xml need to put in a special server folder.
I use eclipce persistance API.
Sorry for my English.