aspose file tools*
The moose likes Spring and the fly likes spring-dao module missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "spring-dao module missing" Watch "spring-dao module missing" New topic
Author

spring-dao module missing

Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Hello Friends
I download spring 3 and trying to use SessionFactoryUtils class inside orm package. But now I get a compilation error that it refers to org.springframework.dao.DataAccessResourceFailureException

but this module not available in the spring download. Any ideas and any helpp would be greatly appreciated

Thanks
Mohamed


SCJP, SCWCD, SCBCD, SCEA 5
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

There is no such module; that class is in org.springframework.transaction. A web search or using a jarfinder site will answer these questions more quickly than waiting for someone here.
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Thanks very much for your reply

This is the class I am talking about, which is referred in spring 3 byorg.springframework.orm.hibernate3.SessionFactoryUtils Class

http://static.springsource.org/spring/docs/2.5.x/api/org/springframework/dao/DataAccessResourceFailureException.html

This is not a transaction module class which you referred to.

I am quite familiar with jar finders but not sure here what is going on.?

Would appreciate your reply thanks?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Spring 3: org.springframework.transaction-3.0.4.RELEASE.jar
Spring 2.5: spring-tx.jar

I'm looking at the download; it's right in front of me. Those jars exist in their respective downloads.

So I don't know what's going on here either--looks like something is wrong with your download, because the classes exist.
Mohamed Farouk
Ranch Hand

Joined: Jun 08, 2005
Posts: 249
Thanks a bunch much appreciated. As the package name for org.springframework.dao.DataAccessResourceFailureException has dao in it I was looking for the same.

I never expected it to be in a different package. Thanks again for your sincere reply.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: spring-dao module missing