[英]Google app engine project deployment error with java sdk
I'm trying to run a google app engine project. 我正在尝试运行一个Google App Engine项目。 First i run that with a servlet and worked fine.
首先,我使用servlet运行该程序,并且运行良好。 now i add a .jsp file and then get a error
现在我添加一个.jsp文件,然后出现错误
Unable to update app: Cannot get the System Java Compiler.
无法更新应用程序:无法获取System Java编译器。 Please use a JDK, not a JRE.
请使用JDK,而不是JRE。 See the deployment console for more details Unable to update app: Cannot get the System Java Compiler.
有关更多详细信息,请参见部署控制台。无法更新应用程序:无法获取System Java Compiler。 Please use a JDK, not a JRE.
请使用JDK,而不是JRE。 I couldn't fix that.Please help me.
我无法解决该问题。请帮助我。
A JDK is required to compile your JSP files. 需要JDK来编译您的JSP文件。 To fix your problem, you will need to use a JDK instead of a JRE for your Eclipse.
要解决您的问题,您将需要在Eclipse中使用JDK而不是JRE。
You should do the following: 您应该执行以下操作:
The above should address your problem. 以上应该解决您的问题。 Restart Eclipse - just in case.
重新启动Eclipse-以防万一。 If not, do the following:
如果不是,请执行以下操作:
eclipse.ini
file in the -vm
arguments. eclipse.ini
文件的-vm
参数中指定JDK。 Check this answer if you have problems setting it up in the eclipse.ini
file : changing jdk in eclipse eclipse.ini
文件中进行设置时遇到问题,请检查此答案: 在eclipse中更改jdk I tried everything and for me the problem was moreover. 我尝试了一切,对我来说问题仍然存在。 I deleted the file "error.jsp" from my project and it worked
我从项目中删除了文件“ error.jsp”,它可以正常工作
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.