Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-05-2007, 06:34 AM
Member
 
Join Date: Jun 2007
Posts: 95
Felissa is on a distinguished road
Error, org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
I have the following problem with an application of jsf+spring+hibernate, when beginning the server gives the following error:

Code:
6:15:43,312 INFO Environment:479 - Hibernate 3.1.3 16:15:43,312 INFO Environment:509 - hibernate.properties not found 16:15:43,359 INFO Environment:525 - using CGLIB reflection optimizer 16:15:43,406 INFO Environment:555 - using JDK 1.4 java.sql.Timestamp handling 16:15:43,609 ERROR ContextLoader:111 - Context initialization failed java.lang.NoClassDefFoundError : org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy at org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:683) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:718) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:213) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:172) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:272) at org.springframework.web.context.support.XmlWebApplicationContext.refresh(XmlWebApplicationContext.java:131) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:154) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:95) at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:80) at javax.servlet.GenericServlet.init(GenericServlet.java:211)
Felissa
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-06-2007, 04:36 AM
Senior Member
 
Join Date: Jun 2007
Posts: 111
Eric is on a distinguished road
RE: Error, org/springframework/jdbc/datasource/TransactionAwareDataSourceProxy
I believe that the first error is that it does not find hibernate.properties so you always are going to have errors with the data base…

Copy and paste hibernate.properties to another computer, and compares the results

the error that throws to you is an internal class of spring, so check its configuration too

check if you doing click in the in properties of the project in the tab libraries you have jar of spring, and if you don't have, add it

Eric
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use JDBC Template classes to control basic JDBC processing and error handling Java Tip Java Tips 0 04-01-2008 11:17 AM
JDBC error ARADHYEV Database 0 01-09-2008 09:56 AM
How to use JDBC Template classes to control basic JDBC processing and error handling JavaBean Java Tips 0 09-28-2007 01:56 PM
What are Custom Scopes in SpringFramework JavaBean Java Tips 0 09-28-2007 01:48 PM
Datasource samson JavaServer Pages (JSP) and JSTL 3 04-02-2007 12:06 PM


All times are GMT +3. The time now is 02:14 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org