aspose file tools*
The moose likes Spring and the fly likes Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]" Watch "Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]" New topic
Author

Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 357
I am having the following code



When i try to execute the above code i get the following error:



I have following jars:

aopalliance-1.0.jar
commons-dbcp-1.4.jar
commons-logging-1.1.1.jar
commons-pool-1.5.4.jar
ejb3-persistence-1.0.2.GA.jar
log4j-1.2.17.jar
persistence-api-1.0.2.jar
spring-aop-3.2.4.RELEASE.jar
spring-beans-3.2.4.RELEASE.jar
spring-context-3.2.4.RELEASE.jar
spring-core-3.2.4.RELEASE.jar
spring-expression-3.2.4.RELEASE.jar
spring-jdbc-3.2.4.RELEASE.jar
spring-orm-3.2.4.RELEASE.jar
spring-tx-3.2.4.RELEASE.jar


I have excluded persistence-api-1.0.2.jar from class path. I have spent lot of time trying to resolve the problem. Can some one please help to resolve the problem.


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not instantiate bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]