top of page

How To Add Server In The Java Web Project.

Updated: Jan 21, 2023

Newly developer when builds their first java web application with Server (Tomcat) and Eclipse at that time sometimes the developers don’t know how to add the Server after created the java web project. Like, after create the java web project, if developers want to change the Server version or sometimes remove the Server from the project then how can they do.


This is the fixable problem.


Let’s see here how to fix that problem.

STEP-1

Here you can see my project name is “cookieslogins”. Also, can see the red mark cross on the project.



ree

STEP-2

Go to the “Libraries” of the project.



ree


STEP-3

You can see in the “Libraries” Server was not added at that time.



ree

STEP-4

Go to Right Click on the project. Go to “Build Path” -> Then, choose “Configure Build Path” option.



ree


STEP-5

Then, In Java Build Path Select Classpath -> Select “Add Library”.



ree

STEP-6

In Add Library choose Server Runtime Libraries -> Next.



ree


STEP-7

Choose your Apache Tomcat Server which you have downloaded in the Eclipse. -> Finish.


ree

STEP-8

Now can see Server (Apache Tomcat v10.0) added in the Classpath.


ree

STEP-9

Then, Select Apply -> Apply and Close.


ree

STEP-10

We can see Server is added in the Libraries and the red cross on the project is gone too.


ree

 
 
 

Recent Posts

See All

Comments


MiIT Logo

Company

Contact Us

905-487-4880 

5160 Explorer Dr #34, Mississauga,ON L4W 4T7

646-713-5711

4466 Buttonwood Ln Lilburn, GA 30047

262 Chapman Rd, STE 240 Newark DE 19702

Stay up to date on the latest from MiIT

  • Instagram
  • Facebook
  • http://linkedin.com/company/miittechnologies/about/
  • Whatsapp

© All Content MiIT Technologies Inc.2019 - 2025. All rights reserved.

bottom of page