wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes running Spring project in Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "running Spring project in Eclipse" Watch "running Spring project in Eclipse" New topic
Author

running Spring project in Eclipse

Mitch Hartner
Greenhorn

Joined: Feb 04, 2006
Posts: 11
've installed the latest versions of Eclipse, Tomcat and the Spring-IDE. Being fairly new to java, I'm still not super comfortable with the concept of building/running web apps and the various entries that must be made in the classpath file to make everything run smoothly. So I was wondering what I need to do get to get the petclinic app to run both with and without debugging (obviously) from within Eclipse. I've read the readme.txt and the petclinic.html but these docs, while immensely helpful, didn't answer my sepcific questions.

Here is a list of relevant installation locations

1. Eclipse --> C:\Eclipse
2. Spring Framework with Dependencies --> C:\Eclipse\Spring
3. PetClinic --> C:\Eclipse\Spring\samples\petclinic
4. J2SE Dev Kit 5.0 --> C:\Program Files\Java\jdk1.5.0_06

I don't see any errors in Eclipse for the petclinic package which means (I think) that all import statements and references are resolving fine. I just need to figure out to get Eclipse to run/debug the app. Any help would be appreciated. If I'm posting to the wrong forum I apolgize in advance and would be happy to move this post as directed!
Edit/Delete Message
Dave Tuttle
Ranch Hand

Joined: Jan 18, 2006
Posts: 34
If I were you I'd start out simple. Learn how to deploy and debug a simple web app first (text editor, ant build script, and print statements), then learn how to do it in Eclipse, then try the spring demo.
Fancy tools can save time for experienced programmers but they make learning j2ee harder, not easier. If you jump into all of it at once, you may never really understand the basics.
--Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: running Spring project in Eclipse