permaculture playing cards*
The moose likes Spring and the fly likes Exception in thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:" Watch "Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:" New topic
Author

Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:

Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Hi All,

I am new to spring and started learning spring from the book spring in Action.

I am using Netbeans..

Please find the attached file for the setup of my project..

I am getting error for the below line of code:



And the xml file is placed under source packages\main.resources.com.springinaction.chapter 01.knight



I think there is some thing wrong with the setup.

The exception i am getting is :



P.S.: I posted the same topic on sprinsource forum also..waiting for reply..Once i get reply i will update the post..


Regards
Sudhakar
Karnati Sudhakar
Ranch Hand

Joined: Aug 26, 2008
Posts: 270

Issue resolved after adding aspectj.jar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException:
 
Similar Threads
Running java with a classpath on cygwin
Ant - How to create a runnable jar of jars and classes
jar files in Eclipse
where to put the XML file for dependency injection.
Example problem from Spring in Action AOP