I developed my application using java persistence. When I am coding I can import and make reference to any of the persistence classes I like, however when I run on the builtin MyEclipse Tomcat server (6) the application complains the persistence classes are not found:
java.lang.NoClassDefFoundError: javax/persistence/Persistence
Here is my code:
EntityManagerFactory emfac = Persistence.createEntityManagerFactory(“trm”);[/color]EntityManager em = emfac.createEntityManager();
CoreObject co = processLine();
em.persist(co);
em.close();
emfac.close();
Since I just installed 7.5 anew the server config should be the same as OOTB.
Thanks
Chris