如何在谷歌应用引擎上运行maven项目

hud*_*udi 5 java google-app-engine

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

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)
Run Code Online (Sandbox Code Playgroud)

我不明白.Jar isnt目录所以为什么要一些目录?当我想使用快速修复时,我可以使用另一个SDK.我尝试使用旧版本1.6 ...但仍然是同样的问题.我怎么解决它?请帮忙

Arp*_*pit 5

可能的解决方案是,你应该通过eclipse中的app引擎设置添加appengine,并确保appengine设置添加的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).通过这种方式,您的应用程序将引用google插件中的appengine sdk,而不是提供错误的路径.

我有同样的问题,我从maven依赖包含的sdk jar得到错误.希望它会有所帮助.

Goole App Engine设置

构建路径顺序