-->
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: HELP: java.lang.NoSuchMethodError: hints
PostPosted: Fri Mar 07, 2008 8:44 pm 
Newbie

Joined: Fri Mar 07, 2008 8:38 pm
Posts: 3
Ok, so I am about to go crazy, if someone could give me a hint I would be SO happy :-)

I have a hibernate based app that runs fine on two App servers (JBoss and BEA), but not on another (same BEA version)...

The error I keep getting is:

Code:

java.lang.NoSuchMethodError: hints at
org.hibernate.cfg.annotations.QueryBinder.bindQuery(QueryBinder.java:44)
   at org.hibernate.cfg.annotations.QueryBinder.bindQueries(QueryBinder.java:179)
   at org.hibernate.cfg.AnnotationBinder.bindQueries(AnnotationBinder.java:197)
   at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:335)
   at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:276)
   at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:210)
   at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1168)


I am not using the "hints" annotation anywhere, but I don't think hat can be it, right?

Any help would be appreciated....


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 08, 2008 1:21 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
some old version in your classpath, or an old ejb 3 apis from Weblogic.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 11:24 am 
Newbie

Joined: Fri Mar 07, 2008 8:38 pm
Posts: 3
- post removed -


Last edited by mhassel on Mon Mar 10, 2008 12:08 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Unlikely....?
PostPosted: Mon Mar 10, 2008 12:07 pm 
Newbie

Joined: Fri Mar 07, 2008 8:38 pm
Posts: 3
Well, that's kind of unlikely, because:
  • I am using the exact same installation/container on both systems
  • Even if not, shouldn't the libs in my war take precedence over the app server ones?


Top
 Profile  
 
 Post subject: Re: Unlikely....?
PostPosted: Mon Mar 10, 2008 12:19 pm 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
mhassel wrote:
Even if not, shouldn't the libs in my war take precedence over the app server ones?



Nah, only if you use a PARENT_LAST class loading strategy which is not the default in most app servers.



Farzad-


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.