Built a JSP development environment with Eclipse, Tomcat, Lomboz

zhaozj2021-02-16  72

Built a JSP development environment with Eclipse, Tomcat, Lomboz

Monkito (www.zmaze.org)

1. Install JDK1.4.0 , install Tomcat; 2. Download the latest version (3.0rc) of Eclipse from http://www.eclipse.org/; 3. Unzip, start Eclipse, select Window> Preferences> Java, select or The new JRE address is the default SDK for the Tomcat plugin. It is recommended to select Tomcat; 4. Download the Lomboz from http://www.objectLearn.com/bow to facilitate JSP development. Since Lomboz with Eclipse 3.0 utilizes a module based on Eclipse EMF Project, an EMF Runtime environment is required. Download EMF Runtime Builds Release 2.0.0 or later; download Lomboz; 5. Close Eclipse; 6. Decompose the EMF Runtime compressed package, copy the files in the corresponding directory of Eclipse (Eclipse / plugins /; / Features); 7. Decompress the Lomboz compression package, copy the files in the corresponding directory of the Eclipse (Eclipse / Plugins /) in the default structure; 8. Delete the org.eclipse.Update directory under the Eclipse / Configuration directory; The problem has troubled me one night, did a few trials, Eclipse did not load the installed plugin, delete Workspace is useless, and later found this solution in the 9CBS Forum. This is one of the new features of 3.0, greatly improved The startup speed of Eclipse, probably not to go to Scan to find updates every time.) 9. Start Eclipse, see Help> About Eclipse Platform> Plug-in Details, you should see that the Lomboz plugin has been properly identified; 10. Start setting Lomboz. Select Window> Customize Perspective ...: In the Shortcuts tab: Submenus Select New, select all entries under Java> Lomboz J2EE Wizards; Submenus Select Show View, select Lomboz J2EE; select LomBoz Actions; 11 in the Commands tab. Select Window> Preference> Workbench> Label Decorations, select Lomboz J2EE Decorators, after confirmation, new buttons should appear in the panel and new project wizards can quickly create new Lomboz-related projects; 12. Select Window> Preference> Java> Build PATH, select Folders Specify Directory as a new Java engineering default path, keep Source Folder Name and Output Folder Name as default.

"JRE LIBRARY USE" selection "JRE_LIB VARIABLE"; 13. Select Window> Preference> Lomboz, specify your JDK Tools.jar address, usually for your $ java_home / lib / Tools.jar, other can remain default; 14. Select Window> Preference> Lomboz> Server Definitions, select the application server you want to use, and the corresponding directory address, click Apply to see if the library package is successfully loaded; (assuming here assumes that the application server you use has been included In the list of Eclipse's application server, if the server you use is not included, you need to manually define a new server type, please check the relevant technical articles, this is no longer described.) 15. Select Window> Preference> Java> Build PATH> ClassPath Variables, in the list of ClassPath variables, you should be able to see the ClassPath variable of the application server you just loaded to point to the directory you just specified; 16. Finally, check your system variable settings, confirm classpath In contracted your JDK lib directory, the PATH contains your JDK's bin directory. Confirm these work before starting Eclipse; 17. To this, Eclipse Tomcat Lomboz configuration process has ended. Next time we will continue to explore the technical details of the Eclipse debugging JSP file; reference: www.eclipse.org; www.objectLepse.org; www.objectLearn.com; hub: "Using Lomboz debugging JSP"; Zuo Jin "use Eclipse development JSP"

转载请注明原文地址:https://www.9cbs.com/read-15654.html

New Post(0)