RSTVMA LDHYAGF [https://community.jboss.org/people/mab1990.amu] created the discussion
"jbpm No persistence provider for EntityManager named org.drools.task" To view the discussion, visit: https://community.jboss.org/message/744769#744769 -------------------------------------------------------------- hello, *jbpm No persistence provider for EntityManager named org.drools.task* I'm new in jbpm i was trying my first project jst to be fimiliar with the platform. I have this code in my main class: KnowledgeBase kBase= reaKnowledgeBase(); EntityManagerFactory emf=Persistence.createEntityManagerFactory("org.drools.task"); Environment env=KnowledgeBaseFactory.newEnvironment(); env.set(EnvironmentName.ENTITY_MANAGER_FACTORY, emf); but when i try to run the class i got this error. I realy need help javax.persistence.PersistenceException: No Persistence provider for EntityManager named org.drools.task at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:56) at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:34) at example.ExapmleMainClass.main(ExapmleMainClass.java:50) -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/744769#744769] Start a new discussion in jBPM at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
