eclipse中配置web服务器的问题。

准备条件:
1. 安装JDK
2. 安装eclipse
3. 安装myeclipse
4. 安装web服务器:tomcat / weblogic / jboss 等

打开eclipse,点击“窗口-->首选项”,选择“MyEclipse-->Application Servers”,选择一种需要的服务器。
例:
weblogic配置:
一、
weblogic server选项中,选择“Enable”
BEA home directory: C:/bea
WebLogic installation directory: C:/bea/weblogic81
Admin username: system (默认)
Admin password: password (默认)
Execution domain root: C:bea/user_projects/domains/mydomain (根据自己的域写)
Execution domain name: mydomain (根据自己的域写)
Execution server name: mydomainServer (根据自己的域写)
Hostname: PortNumber: localhost:7001 (默认)
点击“应用”按钮
二、
展开"WebLogic8",点击“JDK”,其中默认的“WLS JDK name”是“j2re1.4.2_08”(根据JDK版本不同而不同)。如果按默认配置,web应用程序在选择服务器的时候,会出现以下错误信息:
the selected server is enabled, but is not configured properly. Deployment to it will not be permitted until the problem is corrected. Please navigate to the server preference pages and verify the field with the prompt: WLS JDK name
解决方法:
点击“Add...”,在“JRE主目录”中,选择JDK的安装目录,如:“C:/j2sdk1.4.2_08”
点击“确定”按钮,操作完成。

接着就可以在eclipse中使用web服务器了...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值