-->
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.  [ 2 posts ] 
Author Message
 Post subject: Core 3.2.2 with Annotations 3.3.0 problem on WebLogic 9.1
PostPosted: Thu Jul 05, 2007 12:51 pm 
Newbie

Joined: Mon Jan 08, 2007 10:28 am
Posts: 11
Hi,

I've a little problem when I want to deploy my application on WebLogic 9.1. I think there is a problem whith version compatibility between Core and Annotations. Here is the code that generate the "java.lang.NoSuchMethodError: table" exception :
Ejb3Column : ligne 366
Code:
column.setSecondaryTableName( col.table() );

The "col" variable is an object of type org.hibernate.mapping.Column which doesn't contain any table() method.

For information, when I deploy the same application on JOnAS application server, it works well... strange.

Thanks for your help.
RK

Hibernate version:
- Core : 3.2.2.GA
- Annotations : 3.3.0.GA
- EntityManager : 3.3.1.GA

Full stack trace of any exception that occurs:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gererCataloguesApplicatif' defined in class path resource [dep
endenciesInjectionContext.xml]: Cannot resolve reference to bean 'gererCataloguesMetier' while setting bean property 'gererCataloguesMetier'; nested e
xception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gererCataloguesMetier' defined in class path resou
rce [dependenciesInjectionContext.xml]: Cannot resolve reference to bean 'catalogueDao' while setting bean property 'catalogueDao'; nested exception i
s org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myEntityManagerFactory' defined in class path resource [jpaD
aoContext.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: table
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:279)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1047)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:843)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
Truncated. see log file for complete stacktrace
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gererCataloguesMetier' defined in class path resource [depende
nciesInjectionContext.xml]: Cannot resolve reference to bean 'catalogueDao' while setting bean property 'catalogueDao'; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'myEntityManagerFactory' defined in class path resource [jpaDaoContext.xm
l]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: table
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:279)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1047)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:843)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
Truncated. see log file for complete stacktrace
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'myEntityManagerFactory' defined in class path resource [jpaDao
Context.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: table
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1113)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:431)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
Truncated. see log file for complete stacktrace
java.lang.NoSuchMethodError: table
at org.hibernate.cfg.Ejb3Column.buildColumnFromAnnotation(Ejb3Column.java:366)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1128)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
Truncated. see log file for complete stacktrace
>
<5 juil. 2007 18 h 12 CEST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'springoo'.
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:876)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:326)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:114)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
Truncated. see log file for complete stacktrace
java.lang.NoSuchMethodError: table
at org.hibernate.cfg.Ejb3Column.buildColumnFromAnnotation(Ejb3Column.java:366)
at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1128)
at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:733)
at org.hibernate.cfg.AnnotationConfiguration.processArtifactsOfType(AnnotationConfiguration.java:498)
at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:277)
Truncated. see log file for complete stacktrace
>


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 06, 2007 11:52 am 
Newbie

Joined: Mon Jan 08, 2007 10:28 am
Posts: 11
Sorry, it's a Weblogic 9.1 problem...
weblogic.jar contains an old JPA API.

RK


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.