-->
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.  [ 3 posts ] 
Author Message
 Post subject: java.lang.NoSuchMethodError - isProxyTargetClass()
PostPosted: Fri Apr 08, 2005 12:23 pm 
Regular
Regular

Joined: Mon Aug 02, 2004 9:33 am
Posts: 69
Read the rules before posting!
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:2.1.6


Full stack trace of any exception that occurs:
[junit] (context.ContextLoader 172 ) Context initialization failed
[junit] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.transaction.interceptor.TransactionProxyFactoryBean.isProxyTargetClass()Z
[junit] java.lang.NoSuchMethodError: org.springframework.transaction.interceptor.TransactionProxyFactoryBean.isProxyTargetClass()Z
[junit] at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.afterPropertiesSet(TransactionProxyFactoryBean.java:232)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1065)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
[junit] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
[junit] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
[junit] at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
[junit] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:224)
[junit] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:150)
[junit] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
[junit] at com.stufftolet.view.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51)
[junit] Exception in thread "main" java.lang.ExceptionInInitializerError
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
[junit] Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.NoSuchMethodError: org.springframework.transaction.interceptor.TransactionProxyFactoryBean.isProxyTargetClass()Z
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:356)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:260)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:221)
[junit] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
[junit] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:276)
[junit] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)
[junit] at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:131)
[junit] at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:224)
[junit] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:150)
[junit] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:48)
[junit] at com.stufftolet.view.web.BasePageTestCase.<clinit>(BasePageTestCase.java:51)
[junit] ... 6 more
[junit] Caused by: java.lang.NoSuchMethodError: org.springframework.transaction.interceptor.TransactionProxyFactoryBean.isProxyTargetClass()Z
[junit] at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.afterPropertiesSet(TransactionProxyFactoryBean.java:232)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1065)
[junit] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:343)
[junit] ... 16 more
[junit] at java.lang.Class.forName0(Native Method)
[junit] at java.lang.Class.forName(Unknown Source)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:204)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.<init>(JUnitTestRunner.java:177)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:651)
[junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)


Name and version of the database you are using:MySql 4.1.10a

I guys,

I was trying to do a unit testing for my web app but encountered a weird problem as describe above, pls help, Thanks !


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 08, 2005 12:59 pm 
Beginner
Beginner

Joined: Thu Mar 24, 2005 5:21 pm
Posts: 21
I suspect you'll have much better luck posting this in the Spring forums...
Satish


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 09, 2005 6:39 am 
Regular
Regular

Joined: Mon Aug 02, 2004 9:33 am
Posts: 69
sorry guys, I was out of my mind yesterday !


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