您的位置:首页 > 其它

jetty 出现pwc6345问题

2014-03-22 00:00 253 查看
今天在配置jetty嵌入项目的时候,出行了一个错误,搜索了一下网上也有人出现这种情况

错误的情况代码如下:

HTTP ERROR 500
Problem accessing /MyJavaWeb/formProcess. Reason:

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

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

看到最后一行发现是用jre进行解释的,而且jetty要求jdk。所以产生这个错误
首先,试了一种,博客如下:

http://www.oschina.net/question/12_8224(转载)

发现还是不行

然后看另外一种

http://stackoverflow.com/questions/9113346/pwc6345-there-is-an-error-in-invoking-javac-error-when-using-jetty-wtp-plugi

然后设置了一个,发现就可以了~~
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐