`

GAE程序导入错误:Your project must be configured to use a JDK in order to use JSPs

阅读更多

导入一个以前写的Google App Engine程序,会提示你配置JDK的错误

 

原因是用eclipse开发GAE的时候,默认的是JRE System Library,将JDK include进来就OK了。

 

My JSPs aren't working, and there's an error that says "Your Web Application Project must be configured to use a JDK in order to use JSPs." What happened?

Both the local App Engine server and the deployment process need to run javac in order to compile your JSPs. If your project isn't set to use a JDK ("Java Development Kit", which includes javac), then the JSPs can't be compiled.

Go to Preferences > Java > Installed JREs and make sure that you have a JDK installed -- if you don't, you can easily download one. Now right-click on your project and choose Properties > Java Build Path > Libraries and make sure that your project is using this JDK.

  • 大小: 21.3 KB
分享到:
评论

相关推荐

    gae-console:适用于 App Engine 应用程序的强大交互式控制台

    GAE 控制台 适用于 App Engine 应用程序的强大交互式控制台。 由具有多选支持的 Ace 编辑器提供支持。 我创建了这个包,因为有时无需进行新部署即可运行代码确实很有用,但请记住,您可以从这里运行任何内容,并且...

    gae报错:javax.swing.tree.TreeNode is a restricted class的解决办法

    标题 "gae报错:javax.swing.tree.TreeNode is a restricted class的解决办法" 指出的是在Google App Engine (GAE) 平台上遇到的一个特定错误。GAE是一个基于Java或Python等语言的云服务平台,它对上传的代码有一些...

    GAE read rss send to 腾讯微博

    标题“GAE read rss send to 腾讯微博”指的是一个使用Google App Engine(GAE)平台开发的应用程序,该程序的功能是从RSS源读取数据并将其发布到腾讯微博。RSS(Really Simple Syndication)是一种内容聚合格式,常...

    GAE扩展样例程序

    【标题】"GAE扩展样例程序"是一个针对Google App Engine (GAE) 平台的EGL(Enterprise Generation Language)扩展项目。这个程序的主要目的是为开发者提供一个模板或者起点,帮助他们更好地理解和实践如何在GAE上...

    gae_clouddrive:Google App Engine (GAE) 上的 Cloud Drive 应用程序

    **Google App Engine (GAE) 是谷歌提供的一种托管服务,用于构建和运行Web应用程序。它提供了服务器、数据库和运行环境,让开发者可以专注于编写代码,而无需关心基础设施的管理。在GAE上集成Google Cloud Storage ...

    gae_in_pytorch-master_GAE_

    **图形自动编码器(GAE)在PyTorch中的实现** **一、GAE概述** 图形自动编码器(Graph Autoencoder, GAE)是一种应用于图数据的深度学习模型,它结合了自动编码器(Autoencoder)的思想与图神经网络(Graph Neural...

    基于GAE的Demo

    【基于GAE的Demo】是一个使用Eclipse集成开发环境构建的项目,主要展示了如何在Google App Engine(GAE)平台上整合Struts2、Spring和Tiles框架。GAE是Google提供的一个云计算平台,允许开发者在Google的基础设施上...

    基于Google.App.Engine(GAE)的Java和GWT应用开发.pdf

    This book is designed to give developers all the information they need to develop their own GAE+GWT applications, with a particular focus on some of the technologies useful for building scalable ...

    GAE扩展程序

    **GAE扩展程序详解** Google App Engine(GAE)是一个基于云计算的平台,它允许开发者构建和托管Web应用程序。GAE提供了丰富的服务,包括数据库、存储、任务队列和身份验证,同时也支持多种编程语言,如Python、...

    GAE基本建设教程.doc

    **GAE(Google App Engine)基础教程** GAE,全称Google App Engine,是一个由Google提供的平台,允许开发者构建和托管Web应用程序。该平台支持多种编程语言,包括Python和Java,并配备Google专有的数据库系统。GAE...

    flask-gae_runtools:用于使用应用程序引擎 SDK 的烧瓶扩展

    烧瓶gae_runtools 用于使用 App Engine sdk 的 Flask 扩展。 使用 pip 安装 pip install git+https://github.com/gregorynicholas/flask-gae_runtools.git#egg=flask_gae_runtools==1.0.0

    GAE之webapp框架

    greeting = ('<a href="%s">Sign in or register</a>.' % users.create_login_url('/')) self.response.out.write('<html><body>%s</body></html>' % greeting) ``` 通过上述示例,我们可以看到`webapp`框架不仅...

    GAE包(以配置好,解压可用)

    标题 "GAE包(以配置好,解压可用)" 提供的信息表明,这是一个已经预配置好的Google App Engine (GAE)开发环境的压缩包。GAE是Google提供的一项平台即服务(PaaS),允许开发者在Google的基础设施上运行自己的Web...

    基于GAE的博客程序csnuts.zip

    基于Go语言和Google App Engine的博客程序。 标签:csnuts

    GAE开发环境(日文)

    Google App Engine(GAE)是Google提供的一个云平台,用于构建和托管Web应用程序。它支持两种编程语言:Java和Python。本指南将重点介绍如何在Java环境下设置Google App Engine的开发环境,特别是使用Eclipse IDE。 ...

    GAE_Django17:使用 Python 2.7、Django 1.7、MySQL 测试 Google App Engine

    这个应用程序在我自己的个人 GAE 项目上运行和部署。 它使用 Django 1.7 的 zip 版本。 托管 确保安装了 SASS。 SASS 文件从 sass/ 编译到 static/css/ 目录中。 对于 SASS:从根目录运行它 sass --watch sass/...

    GAE使用规则

    GAE使用规则GAE使用规则GAE使用规则GAE使用规则GAE使用规则GAE使用规则GAE使用规则GAE使用规则GAE使用规则

    gae-loadtest:用于重负载测试的 Google App Engine 示例

    (可选)在 Eclipse 中创建要导入的项目: $ mvn eclipse:clean eclipse:eclipse 2- 推向生产 登录并在 App Engine 上。 编辑您的“路径”,为命令行添加 App Engine 工具。 在 Mac OS X 上,只需编辑 ~/....

    gae-discourse-client:适用于Python Google App Engine应用程序的Discourse API客户端

    完成此操作后,将以下代码行放入GAE应用程序中: from gae_discourse_client import discourse_clientdiscourse_client . initClient ( discourse_url , api_key , api_username ) 其中discourse_url是您的...

Global site tag (gtag.js) - Google Analytics