eclipse tomcat: take the classpath from the project

I have a java web project in eclipse and want to define a tomcat server. It seems that in the tomcat server I must define again my classpath. How can I tell tomcat to just use the classpath from my project (shouldn't this be obvious?).

Unfortunately my jars are scattered all around and it is an headache to add them one by one to my tomcat configuration and maintain this.


You don't have to tell tomcat to look for jars scattered all around the places. This can be easily taken care by eclipse. Configure your eclipse build path properly. Create Libraries (in eclipse) and group jar together. Try to export the war and check if eclipse is packaging all the required jars in WEB-INF/lib.

Need Your Help

documenting cakephp project

php cakephp

I'm working on a couple of CakePhp projects these days and I was wondering how I should document them. I'm used with ruby on rails where documenting is made easy with the help of the framework.

dependecy error after adding the new facebook lib in gradle

android android-gradle android-facebook

After I added compile '' in the dependences of my project I start getting this error when i try to build and run the application(pressing the play ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.