如何在谷歌应用程序引擎上运行maven项目 [英] How to run maven project on google app engine

查看:107
本文介绍了如何在谷歌应用程序引擎上运行maven项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遵循以下教程: http:/ /software.danielwatrous.com/wordpress-plugin-licensing-wicket-on-google-app-engine/ 。我添加谷歌应用程序引擎库到这个项目,然后我想检查谷歌应用程序引擎。但是当我做这个eclipse有这个问题:

$ p $ App Engine SDK'/ home / hudi / program / git / tournamenSystem /锦标赛系统/
锦标赛系统web / src / main / webapp / WEB-INF / lib / appengine-api-1.0-sdk-1.7.1.jar'
在项目的构建路径上无效(SDK位置'/ home / hudi / program / git /
tournamenSystem / tournament-system / tournament-system-web / src / main / webapp / WEB-INF /
lib / appengine-api -1.0-sdk-1.7.1.jar'不是目录)

我不理解它。罐子不是目录,为什么它想要一些目录?当我想使用快速修复时,我可以使用另一个SDK。我尝试使用旧版本1.6 ...但仍然是同样的问题。我如何解决它?请帮助解决方案可能的解决方案是,您应该在eclipse中通过app引擎设置添加appengine,并确保添加了sdk appengine设置出现在所提到的之前(即/home/hudi/program/git/tournamenSystem/tournament-system/tournament-system-web/src/main/webapp/WEB-INF/lib/appengine-api-1.0-sdk- 1.7.1.jar)在您的构建路径中。通过这种方式,您的应用程序将引用谷歌插件中的appengine sdk,而不是用于发生错误的路径。



我遇到同样的问题,导致sdk出错jar包括从maven dependency.Hope它将有所帮助。






I follow this tutorial: http://software.danielwatrous.com/wordpress-plugin-licensing-wicket-on-google-app-engine/. I add google app engine library to this project and then I want to check google app engine on. But when I do this eclipse has this problem:

The App Engine SDK '/home/hudi/program/git/tournamenSystem/tournament-system/
tournament-system-web/src/main/webapp/WEB-INF/lib/appengine-api-1.0-sdk-1.7.1.jar'
on the project's build path is not valid (SDK location '/home/hudi/program/git/
tournamenSystem/tournament-system/tournament-system-web/src/main/webapp/WEB-INF/
lib/appengine-api-1.0-sdk-1.7.1.jar' is not a directory)

I dont understand it. Jar isnt directory so why it want to some directory ? When I want use quick fix then I can just use another SDK. I try to use older version 1.6... but still same problem. How I can fix it ? Please help

解决方案

Possible solution is that, you should add appengine through app engine settings in eclipse and make sure that the sdk added by appengine setting appear before the one mentioned (i.e. /home/hudi/program/git/tournamenSystem/tournament-system/tournament-system-web/src/main/webapp/WEB-INF/lib/appengine-api-1.0-sdk-1.7.1.jar) in your build path. In this way your application would refer the appengine sdk from google plugin and not for the path which is giving error.

I had same issue where I was getting error for the sdk jar included from maven dependency.Hope it will help.

这篇关于如何在谷歌应用程序引擎上运行maven项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆