| Author |
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
bean.xml
SequenceGenerator.java
Main.java
When I press the run button in eclipse the Output is :
Please help me on this.
|
Thanks,
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)
|
SCJP 6
|
 |
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:
SequenceGenerator
:Spring Elements
:Beans
>bean.xml
:src
:mit
>Main.java
>SequenceGenerator.java
@JRE System Library
#org.springframework.aop-3.0.0.RELEASE.jar
#org.springframework.asm-3.0.0.RELEASE.jar
#org.springframework.aspects-3.0.0.RELEASE.jar
#org.springframework.beans-3.0.0.RELEASE.jar
#org.springframework.context-3.0.0.RELEASE.jar
#org.springframework.context.support-3.0.0.RELEASE.jar
#org.springframework.core-3.0.0.RELEASE.jar
#org.springframework.expression-3.0.0.RELEASE.jar
#org.springframework.instrument-3.0.0.RELEASE.jar
#org.springframework.instrument.tomcat-3.0.0.RELEASE.jar
#org.springframework.jdbc-3.0.0.RELEASE.jar
#org.springframework.jms-3.0.0.RELEASE.jar
#org.springframework.orm-3.0.0.RELEASE.jar
#org.springframework.oxm-3.0.0.RELEASE.jar
#org.springframework.spring-library-3.0.0.RELEASE.libd
#org.springframework.test-3.0.0.RELEASE.jar
#org.springframework.transaction-3.0.0.RELEASE.jar
#org.springframework.web-3.0.0.RELEASE.jar
#org.springframework.web.portlet-3.0.0.RELEASE.jar
#org.springframework.web.servlet-3.0.0.RELEASE.jar
#org.springframework.web.struts-3.0.0.RELEASE.jar
Please help me on this, what am I missing?
|
 |
 |
|
|
subject: Problem running Spring Application
|
|
|