aspose file tools*
The moose likes Spring and the fly likes How to use ClassPathXmlApplicationContext-spring in standalone application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "How to use ClassPathXmlApplicationContext-spring in standalone application" Watch "How to use ClassPathXmlApplicationContext-spring in standalone application" New topic
Author

How to use ClassPathXmlApplicationContext-spring in standalone application

Jobish Ps
Greenhorn

Joined: Apr 16, 2012
Posts: 2
I am new in spring framework.I tried below code in my spring application


But i am not able to compile this in my eclipse.
It's showing below error:
The constructor ClassPathXmlApplicationContext(String, Class) refers to the missing type BeansException

lavnish lalchandani
Ranch Hand

Joined: Feb 28, 2007
Posts: 79
Found this
http://dev-answers.blogspot.in/2009/06/eclipse-build-errors-javalangobject.html

lavnish.blogspot.com
 
Don't get me started about those stupid light bulbs.
 
subject: How to use ClassPathXmlApplicationContext-spring in standalone application