jetty:error 500需要一个完整的JDK(不只是JRE) [英] jetty: error 500 A full JDK (not just JRE) is required
问题描述
我真的需要帮助。
我试图在新机器上运行我的jsp应用程序,并且jetty给我这个错误:
org.apache。 jasper.JasperException:PWC6345:调用javac时有错误。需要一个完整的JDK(不只是JRE)
我使用ecplipse开普勒,maven和win8.1 x64。
$ b $我知道有很多这些问题,但我已经尝试过一切:
-reinstall jdk和jre;
在eclipse.ini中添加一个java目录-vm
-home path is workin - 我可以从命令行调用java
这些没有解决我的问题...
编辑:问题解决 - 这是eclipse luna bug - 在eclipse开普勒它正在工作
尝试编辑:
jetty.xml在C:\Program Files\jetty-distribution-9.2 .19.v20160908\etc
添加:
call class =java.lang.Systemname =setProperty>
< arg> org.apache.jasper.compiler.disablejsr199< / arg>
< arg> true< / arg>
< / call>
在configure元素下
I really need help.
I'm trying to run my jsp aplication on new machine and jetty gives me this error: org.apache.jasper.JasperException: PWC6345: There is an error in invoking javac. A full JDK (not just JRE) is required
I'm using ecplipse kepler, maven and win8.1 x64.
I know there was a lot of these questions but I'va tried everything: -reinstall jdk and jre; -add a java directory in eclipse.ini by -vm -home path is workin - I can call java from command line
all of these not fix my problem...
EDIT: problem solved - it was eclipse luna bug - in eclipse kepler it is working
Try editing:
jetty.xml in C:\Program Files\jetty-distribution-9.2.19.v20160908\etc
Add:
<call class="java.lang.System" name="setProperty">
<arg>org.apache.jasper.compiler.disablejsr199</arg>
<arg>true</arg>
</call>
under "configure" element
这篇关于jetty:error 500需要一个完整的JDK(不只是JRE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!