Two Laptop Bag
The moose likes Spring and the fly likes Problem running Spring Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Problem running Spring Application" Watch "Problem running Spring Application" New topic

Problem running Spring Application

chandan kumar mitwaa
Ranch Hand

Joined: Jul 01, 2009
Posts: 49
Hi everyone,

I am new to Spring. This is my first Spring Application but I was unable to successfully run it. I have tried a lot but I am not getting the reason why it is not running.

Application name: SequenceGenerator


When I press the run button in eclipse the Output is :

Please help me on this.

Chandan Kumar
Vivek K Singh
Ranch Hand

Joined: Dec 22, 2009
Posts: 85

The program has no faults in it, It works fine on my machine

Just check your classpath for conflicting jar files (Different version of files)

chandan kumar mitwaa
Ranch Hand

Joined: Jul 01, 2009
Posts: 49
Hello Vivek

I am using eclipse. I created a new project using New Spring Project wizard. I had downloaded Spring framework 3 from the official spring site. Now I extracted it somewhere on my computer. Then I add the jar files in the folder "dist" to my project classpath.

The structure as it appears in my Project Explorer is like this:


:Spring Elements
@JRE System Library


Please help me on this, what am I missing?
I agree. Here's the link:
subject: Problem running Spring Application
It's not a secret anymore!