我刚刚在玻璃鱼上部署了一个应用程序.我做了什么,我做了一个目录结构. HelloWorld-> index.jsp,WEB-INF-> sun-web.xml,web.xml.我的index.jsp只是一个打印HelloWorld的页面
Hello World! PageHello 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.
谢谢