eclipse+tomcat+lomboz的安装配置说明

一、软件下载:
1、java
这里使用的是jdk1.4.2。
下载地址: http://dlc.sun.com/jdk/j2sdk-1_4_2_07-windows-i586-p.exe
2、tomcat
这里的tomcat的版本是5.0的,安装版或是解压版都是可以的。
下载地址: http://apache.linuxforum.net/dist/jakarta/tomcat-5/v5.0.28/bin/jakarta-tomcat-5.0.28.exe

3、eclipse
开发IDE eclipse-SDK-3.0.1-win32.zip
下载地址: http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.0.1-200409161125/download.php?dropFile=eclipse-SDK-3.0.1-win32.zip
语言包 NLpack-eclipse-SDK-3.0.x-win32.zip
下载地址: http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/drops/L-3.0.1_Translations-200409161125/NLpack-eclipse-SDK-3.0.x-win32.zip

4、tomcat插件
tomcatPluginV3.zip(下载之前需要查看插件是否适合eclipse的版本)
下载地址: http://www.sysdeo.com/eclipse/tomcatPluginV3.zip

5、lomboz插件
lomboz插件需要下载两个部分,一个是emf环境,另一个是lomboz插件
下载地址:
http://eclipse.mirrors.tds.net/tools/emf/downloads/drops/2.0.1/R200409171617/emf-sdo-runtime-2.0.1.zip

下载地址: http://download.forge.objectweb.org/lomboz/org.objectweb.lomboz_3.0.1.N20050106.zip

二、软件安装:
1、java安装
运行可执行文件j2sdk-1_4_2_07-windows-i586-p.exe,
安装结束后需配置环境变量,在我的电脑->属性->高级->环境变量->系统变量中添加以下环境变量
CLASSPATH: %JAVA_HOME%/lib;%TOMCAT_HOME%/common/lib
JAVA_HOME: c:/j2sdk1.4.2
PATH: %SystemRoot%/system32;%SystemRoot%;%SystemRoot%/System32/Wbem;C:/Program Files/ATI Technologies/ATI Control
Panel;%JAVA_HOME%/bin;%TOMCAT_HOME%/bin


2、tomcat安装

解压版的直接解压就可以了,然后配置环境变量TOMCAT_HOME = C:/Program Files/Apache Software Foundation/Tomcat 5.0,安装版的要注意的两点,一个是安装完之后tomcat的服务就能够启动的了,但是还是要配置TOMCAT_HOME;第二个就是需要查看一下安装程序是不是把tomcat服务注册成为windows的启动服务,需要到“服务”里查看,如果有这个选项就把它设置为手动启动,并且先停止这个服务。
[测试]:使用startup.bat命令,服务正常启动之后,ie浏览器里输入
http://localhost:8080/ 如果出现正常的小猫页面,那就应该没有问题了。

3、eclipse安装
eclipse的安装很简单,只要解压,然后把eclipse目录复制到盘符下就可以了,启动的时候,系统会自动寻找jvm,当然可以再以后配置,但是好像是必须先安装jdk。我这里是放在D:/eclipse下

4、tomcat插件安装,emf插件安装,lomboz插件安装,
tomcatPluginV3.zip解压后将文件夹com.sysdeo.eclipse.tomcat_3.0.0拷贝到D:/eclipse/plugins
emf插件和lomboz插件解压后将feature和plugins目录拷贝到 D:/eclipse/ 即可

三、eclipse配置
1、 Installed JREs配置
打开配置界面 window->preferences。如果这几个插件安装成功,左边的列表里应该有lomboz和tomcat的选项。如果没有,检查上面的步骤是不是正确。
点击java->Installed JREs,然后显示如下,如果是初始安装的,只有显示第一个jre,那是系统默认的安装在c盘的jre,如果系统当中安装了多个jdk,那么最好还是新建一个,点击add,然后选择你需要使用的jdk的位置,然后它会自动寻找其他的参数,点击ok。返回界面之后,不要忘记点选刚刚添加的jdk,要不然是没有用的。然后点击ok关闭这个窗口。

2、tomcat配置
这里是配置tomcat的参数,根据你安装的tomcat的版本,选择tomcat version,然户找到该tomcat的主目录,输入在tomcat home,下面的参数会自动配置,点击apply。 然后在左边选择advanced,同样把tomcat的主目录复制在tomcat base,点击apply。
最后在左边选择jvm setting,选择刚刚加入的jre,点击apply,点击ok。这样就可以了。回到界面,点击工具栏上的黄色小猫的图标,如果配置正确,在console里应该有启动tomcat的信息。如果有,就代表tomcat配置成功了。

3、lomboz配置
基本上不用什么配置,如果左边有那个lomboz选项,基本上就是成功了。点击lomboz,然后选择刚才配置的jdk里的tools.jar,这样配置就完成了。测试的方法是新建一个jsp文件,看看打开的时候是不是对script代码有特殊显示,并且建个测试类,看看jsp是不是能够自动引用类里的函数。

Eclipse + Tomcat + Lomboz 的问题。

12-26

我的配置是Eclipse3.1 + Tomcat5.16 + Lomboz,可是双击jsp出错,是怎么回事啊?像是插件问题?具体是什么问题呢rnrnProblems occurred when invoking code from plug-in: "org.eclipse.jface".rnrnjava.lang.NoClassDefFoundError: org/eclipse/jdt/internal/codeassist/ISearchableNameEnvironmentrn at com.objectlearn.jdt.j2ee.ui.editor.JSPSourceViewerConfiguration.getContentAssistant(JSPSourceViewerConfiguration.java:344)rn at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:331)rn at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2517)rn at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)rn at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:314)rn at com.objectlearn.jdt.j2ee.ui.editor.JSPEditor.createPartControl(JSPEditor.java:362)rn at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:155)rn at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:132)rn at com.objectlearn.jdt.j2ee.editor.JspEditor.createPage0(JspEditor.java:120)rn at com.objectlearn.jdt.j2ee.editor.JspEditor.createPages(JspEditor.java:169)rn at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)rn at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)rn at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)rn at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)rn at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)rn at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)rn at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)rn at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)rn at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)rn at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)rn at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)rn at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2249)rn at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)rn at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)rn at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)rn at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)rn at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)rn at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:326)rn at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:650)rn at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:409)rn at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741)rn at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)rn at org.eclipse.core.runtime.Platform.run(Platform.java:783)rn at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)rn at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)rn at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:739)rn at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968)rn at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067)rn at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243)rn at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238)rn at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277)rn at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)rn at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)rn at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3080)rn at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)rn at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)rn at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)rn at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)rn at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)rn at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)rn at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)rn at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)rn at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)rn at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)rn at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)rn at java.lang.reflect.Method.invoke(Method.java:324)rn at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)rn at org.eclipse.core.launcher.Main.basicRun(Main.java:278)rn at org.eclipse.core.launcher.Main.run(Main.java:973)rn at org.eclipse.core.launcher.Main.main(Main.java:948)rnrn

eclipse,Lomboz ,tomcat的问题

03-06

按照网上的文章我配置eclipse,Lomboz ,tomcat调试jsp页面rneclipse等工具的安装路径:rnc:\eclipsernc:\Tomcat 5.0rnc:\j2sdk1.4.2rn工作目录 c:\workspacern按照网上所说的步骤把所有的配置工作都做完之后,我建了一个Lomboz j2ee project:Ldemornweb modules:LdemornTargeted Servers:apache Tomcat v 5.0.xrnrn还建了一个Tomcat project: Tdemorn分别在Ltemo和Tdemo下边建了一个test.jsp(输出hello eclipse)rntest.jsp路径是:C:\workspace\Ldemo\Ldemo\test.jsp和C:\workspace\Tdemo\test.jsprn然后启动tomcat 5.0 在ie中输入http://localhost:8080/Tdemo/test.jsp它会显示 hello eclipsern也就是Tomcat project是成功的rn但是输入http://localhost:8080/Ldemo/Ldemo/test.jsp或者http://localhost:8080/Ldemo/test.jsp或者http://localhost:8080/workspace/Ldemo/Ldemo/test.jsp统统都报错:HTTP Status 404 ....rn也就是Lomboz j2ee project是失败的,不知道为何原因?rnrn后来我点击Toolbars的press to open a j2ee project outliner按钮出现一个Lomboz j2ee view的视窗,然后点击Ldemo,他的目录结构是:rnLdemorn --Ldemorn ----Apache Tomcat v5.0.xrnrn右键点Apache Tomcat v5.0.x 会有run server;debugserbver和stopserver三个选项。选择runserver,tomcat会启动。在ie中输入http://localhost:8080/Ldemo/Ldemo/test.jsp或者http://localhost:8080/Ldemo/test.jsp或者http://localhost:8080/workspace/Ldemo/Ldemo/test.jsp还是统统都报错:HTTP Status 404 ....rnrn不知道什么原因???rnrn问题出在哪里?谢谢!rnrnrnrnrnrnrn

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试

关闭