Configure eclipse3.1 JSP development environment (tomcat version)

Source: Internet
Author: User

Related Software:
1. Eclipse 3.1
2. lomboz_3.0.1
3. emf-sdo-runtime-2.0.0
4. tomcatpluginv31beta (this plug-in is used to enable and disable tomcat in eclipse)

1. Install JDK and tomcat;
The final result of environment variable configuration is as follows: (the specific directory depends on the actual situation of each user)
Java_home: C:/jdk1.5
Catalina_home: C:/tomcat-5.0.
Classpath:.; % java_home %/LIB; % catalina_home %/common/LIB;
Path: % java_home %/bin; % catalina_home %/bin;

2. Download eclipse3.1 unzip, execute, and install the relevant plug-in above (see my previous article http://tom-shen.blog.sohu.com/1791532.html ).

3. Start setting lomboz. Select WINDOW> customize perspective...: On the shortcuts tab, select new for submenus, select all entries under Java> lomboz J2EE wizards, show view for submenus, and lomboz J2EE for submenus, and lomboz actions on the commands tab;

4. select WINDOW> preference> workbench> label decorations, and select lomboz J2EE decorators. After confirmation, a new button and a project related to lomboz can be created quickly in the new project wizard;

5. Select WINDOW> preference> JAVA> build path, and select the directory specified by folders as the default path for creating a Java project. Make sure that source folder name and Output Folder name are the default values. "As JRE library use" selected "jre_lib variable";

6. Select WINDOW> preference> lomboz and specify your JDK tools. Jar address. Generally, this address is your $ java_home/lib/tools. Jar. You can keep the default value for others;

7. choose WINDOW> preference> lomboz> server definitions, select the application server you want to use and the corresponding directory address, and click Apply to check whether the library packages have been loaded successfully on each tab; (assume that the application server you are using has been included in the eclipse Application Server LIST. If the server you are using is not included, You need to manually define a new server type, please search for related technical articles by Google. I will not go into details here .)

8. Configure WINDOW> preference> tomcat in the same way

9. choose WINDOW> preference> JAVA> build path> classpath variables. In the classpath Variable list on the right, you should be able to see that the classpath variable of the app server you just loaded points to the directory you just specified;

10. finally, check your system variable settings and confirm that classpath contains the lib directory of your JDK, and path contains the bin directory of your JDK. confirm that these tasks are completed before starting eclipse;

11. So far, the configuration process of eclipse + Tomcat + lomboz has ended.

Note: The version must be related. Please note that these plug-ins are useful for eclipse!
 

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.