Configuration of Eclipse Java EE

Source: Internet
Author: User
Tags win32 tomcat server

Eclipse IDE for Java EE Developers (Win32)

: Http://mirror.bjtu.edu.cn/eclipse/technology/epp/downloads/release/juno/SR1/eclipse-jee-juno-SR1-win32.zip

Tomcat 7

: Http://apache.etoak.com/tomcat/tomcat-7/v7.0.32/bin/apache-tomcat-7.0.32-windows-x86.zip

Question one: How to configure Tomcat

"Windows", "Preferences", "Server", "add"

Check your tomcat version and I'm under 7.

Find the Tomcat directory you downloaded

Mine is D:\apache-tomcat-7.0.32.

Question two: How to create a new Web project

The Web project in Eclipse Java EE is called Dynamic Web project

The others are the same as myeclipse.

Question three: Ask what I started the service after using a browser to access Tomcat report 404

After you create a new project, start it, select your new tomcat, and the page runs

However, when you open the Tomcat home page with your browser (htt://localhost:8080), it appears 404

And you found out that you didn't have a project under your Tomcat's webapp.

The cause of the problem is here

Open your Servers tab and double-click your tomcat.

See your Tomcat server locations selected first, that is, the Web runtime eclipse puts your project into that default folder, and that folder does not have the root file of the Tomcat home page

So there will be 404

We want the project to be automatically copied to Tomcat's webapp.

Here's the setting.

Remove the project from your tomcat if the above grey is not selected.

Question four: Tip 8005,8080,8009 Port is occupied

Very inexplicable problem, sometimes out, if you run into the Task Manager, force the end of the JAVAW process.

Configuration of Eclipse Java EE

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.