aspose file tools*
The moose likes Spring and the fly likes How to debug Spring MVC 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 debug Spring MVC Application" Watch "How to debug Spring MVC Application" New topic
Author

How to debug Spring MVC Application

Anupam Dee
Ranch Hand

Joined: Oct 18, 2010
Posts: 42

How can we debug Spring Application or Spring MVC Application?
I have commons-logging.jar. But don't know how to use it?
Or is there any other alternative to step through to debug my application by setting breakpoints.

I am using Spring Tool Suite.
Please help.
Bill Gorder
Bartender

Joined: Mar 07, 2010
Posts: 1666
    
    7

STS is built on Eclipse so the debugger works the same way. You can see this tutorial for an overview

http://www.vogella.com/articles/EclipseDebugging/article.html

The main difference is you may not be running a java application but rather a web app. To start TC-server click the 'Start the server in debug mode' button. It looks like a bug and is right next to the green play button in the servers tab in the lower left corner of the screen.


[How To Ask Questions][Read before you PM me]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to debug Spring MVC Application