-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Author Message
 Post subject: getting exception with hibernate tool after installing 4.3.5
PostPosted: Sun Jul 13, 2014 1:57 pm 
Newbie

Joined: Wed Apr 08, 2009 1:11 pm
Posts: 19
Hi,

I have installed the jars for hibernate 4.3.5 Final. I have installed the hibernate tool via Eclipse (4.0.0). I'm getting an exception running the ant task for the hibernate tool:

java.lang.NoSuchMethodError: org.hibernate.service.ServiceRegistryBuilder.buildServiceRegistry()Lorg/hibernate/service/ServiceRegistry;
at org.hibernate.tool.hbm2x.Hbm2DDLExporter.doStart(Hbm2DDLExporter.java:88)
at org.hibernate.tool.hbm2x.AbstractExporter.start(AbstractExporter.java:95)
at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java:40)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:186)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

I'm guessing I have the wrong hibernate tool?

Andy


Top
 Profile  
 
 Post subject: Re: getting exception with hibernate tool after installing 4.3.5
PostPosted: Sun Jul 13, 2014 6:23 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Andy,
I'm not sure which versions of the tool are meant to be compatible with Hibernate 4.3.5, still I'll propose to add the removed method back as it seems useful to keep longer as a deprecated delegate.

thanks for the notice

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: getting exception with hibernate tool after installing 4.3.5
PostPosted: Mon Jul 14, 2014 11:02 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
I've fixed it as
https://hibernate.atlassian.net/browse/HHH-9288

should be included in the 4.3.6.Final release of this week

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
 Post subject: Re: getting exception with hibernate tool after installing 4.3.5
PostPosted: Fri Nov 07, 2014 3:12 am 
Newbie

Joined: Fri Nov 07, 2014 2:59 am
Posts: 1
have the same issue, since some time passed i wonder if any of you guys found out how to do it... plz post some examples if you did.


Top
 Profile  
 
 Post subject: Re: getting exception with hibernate tool after installing 4.3.5
PostPosted: Fri Nov 07, 2014 6:46 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
I think that just upgrading to Hibernate ORM 4.3.6.Final or 4.3.7.Final should fix it.

If not, which version of Hibernate Tools are you using? Did you try downloading JBoss Developer Studio 8 ?

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.