File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.springframework.beans.factory.BeanCreationException

 
Kashif Mughal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everyone,

Hopefully I am raising this question in the right forum, I am trying to setup the Spring Hibernate Environment for my project, I am keep on getting this error, I guess there is some JAR missing or any compatibility issue. Please suggest if it rings a bell. Details are given below;

ApplicationContext.xml
==================


Dependencies
===========


Stack Trace
=========


Thanks in Advance, your early attention will be appreciated.

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure hibernate.jar is included in the class path?
 
Kashif Mughal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I am not wrong, they are; Please have a look below;

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It doesn't matter if a jar is in your Eclipse .classpath file (if that's what it is, you don't actually say), it needs to be deployed to your web app.
 
Kashif Mughal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its standalone Java service not a web application and I am getting that problem while running the unit tests.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you running it in the Eclipse environment? I mean, something's obviously wrong with your classpath during execution.
 
Kashif Mughal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I am running it within Eclipse IDE
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And how are you running it?
 
Kashif Mughal
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running from IDE as follow;

Run As > Junit Test
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aaaaaand the code that's failing (just the relevant portions), and any run configuration that might be necessary. It'd be a lot quicker to just provide all the useful information up front.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic