Configuration of Eclipse3.0+tomcat5.0+lomboz

Source: Internet
Author: User
Tags add exit modify version variable zip tomcat
Read a lot of online users published articles, found that many use such a combination. But the article is fragmented, and here I have tried it myself to write about my experience. 1, install Jdk,eclipse and Tomcat. The JDK version is 1.4.2_04 and the installation directory is c:\j2sdk1.4.2_04. Eclipse version 3.0, the installation directory is c:\Eclipse. The Tomcat version is 5.0 and the installation directory is C:\Program files\apache Software foundation\tomcat 5.0. You also need to download Org.objectweb.lomboz_3.1.0.n20050106.zip and Emf-sdo-runtime-i200412160800.zip. (These two plug-ins are developed by JSP.) Download Tomcatpluginv3.zip (this plug-in is used to start Tomcat in Eclipse.) and Net.sf.solareclipse_0.4.1.bin.dist.zip (this plugin is the editor of the JSP in Eclipse). After all the compressed files are uncompressed, copy all the files below the feature and plugin folders to the feature and plugin folders of Eclipse. 2, configure Java exit Eclipse, delete the C:\eclipse\configuration\org.eclipse.update folder. Restart Eclipse. At this point you can see the buttons in the toolbars above eclipse, "Java + Project Outline" and "Tomcat Start,stop,restart". In Eclipse, Windows->preference, select the Java->installed JRE. Add a JRE type:standard VM JRE name:java Runtime Environment (name can be any) JRE home:java_home windows->preference, select Java-&gt ; Build Path. Change the following as JRE Library use to jre_lib variable. Click the Apply button. 3. Configure Lomboz windows->preference, select Lomboz, and change the contents of the JDK Tools.jar item to: Java_home\lib\tools.jar. Windows-&gT Preference, choose Lomboz->server definitions. The parameters are as follows: Server types Select the version of Tomcat. The parameters in the properties project are as follows: Application Server directory:tomcat_home address:127.0.0.1 port:8080 Classpath Variable Name: Tomcat_home Classpath Variable:tomcat_home added in the Server Classpath project: ${classpathvariablename}/bin/bootstrap.jar ${ Classpathvariablename}/common/servlet.jar ${classpathvariablename}/common/jasper-runtime.jar in Project Classpath Project Add: ${classpathvariablename}/bin/bootstrap.jar ${classpathvariablename}/common/servlet.jar ${ Classpathvariablename}/common/jasper-runtime.jar after the modification of the parameters, you need to click "Apply" to save. 4, modify the configuration file under eclipse_home\plugins\com.objectlearn.jdt.j2ee_3.0.1 ervers the corresponding server file open, (My Tomcat50x.server) is modified as follows: Djava.endorsed.dirs= "${serverrootdirectory}/bin;${serverrootdirectory}/common/ Endorsed "changed to-djava.endorsed.dirs=" ${serverrootdirectory}/common/endorsed "a total of two, have to modify, save after the modification, exit, restart Eclipse." 5, pull up lomboz each menu windows->customize perspective, in the dialog box that appears shortcuts page first select the left panel lomboz java-ee Wizards, There are many options in the right panel, andHit the hooks in front of each of them. Then change the value of submenus in this shortcuts panel, select Show View, then select Lomboz in the left side of the panel that appears, and also put a hook in the box in front of it. Finally, replace the panel in the Customize Perspective dialog box to the Commands page. On the Commands page, select the Lomboz actions and also put the hooks in front of each of them. 6, configure JSP editor window->preferences, select Workbench->label decorations, select Lomboz java-ee decorators.

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.