java.lang.NoSuchMethodException: org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(java.lang.String, java.util.Map) C:\Daten\eclipse-workspace\hskaDB\postgresql\build.xml:239: Problems in creating a Ejb3Configuration. Have you remembered to add it to the classpath ?

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Juergen Zimmermann, 1 year ago
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(java.lang.String, java.util.Map) C:\Daten\eclipse-workspace\hskaDB\postgresql\build.xml:239: Problems in creating a Ejb3Configuration. Have you remembered to add it to the classpath ?
via Hibernate JIRA by Juergen Zimmermann, 1 year ago
org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(java.lang.String, java.util.Map) C:\Daten\eclipse-workspace\hskaDB\postgresql\build.xml:239: Problems in creating a Ejb3Configuration. Have you remembered to add it to the classpath ?
java.lang.NoSuchMethodException: org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(java.lang.String, java.util.Map) C:\Daten\eclipse-workspace\hskaDB\postgresql\build.xml:239: Problems in creating a Ejb3Configuration. Have you remembered to add it to the classpath ?
at org.hibernate.tool.ant.EJB3ConfigurationTask.createConfiguration(EJB3ConfigurationTask.java:37)
at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(ConfigurationTask.java:54)
at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(HibernateToolTask.java:278)
at org.hibernate.tool.ant.Hbm2DDLExporterTask.execute(Hbm2DDLExporterTask.java:45)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:162)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:104)
at org.apache.tools.ant.Task.perform(Task.java:375)
at org.apache.tools.ant.Target.execute(Target.java:356)
at org.apache.tools.ant.Target.performTasks(Target.java:384)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1268)
at org.apache.tools.ant.Project.executeTarget(Project.java:1237)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1120)
at org.apache.tools.ant.Main.runBuild(Main.java:697)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:299)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.