glassfish显示不了html文件,glassfish-3 – 在glassFIsh中部署应用程序后出现错误

我刚刚在玻璃鱼上部署了一个应用程序.我做了什么,我做了一个目录结构. HelloWorld-> index.jsp,WEB-INF-> sun-web.xml,web.xml.我的index.jsp只是一个打印HelloWorld的页面

Hello World! Page

Hello World!

然后我去了HelloWorld目录并发出以下命令

jar cvf helloworld.war .

war文件已创建.然后我使用管理控制台将应用程序部署到GlassFish.在我写的/ HelloWorld的上下文中.但后来我尝试使用打开应用程序

http://localhost:8080/HelloWorld/

然后我得到了错误

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required

我的路径环境设置为

;C:\Program Files\Java\jdk1.6.0_06\bin;C:\Program Files\glassfish-3.0.1\bin;

我的classpath上有java,为什么我收到这个错误?我正在使用Windows 7.

谢谢

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值