Google app engine 构建示例gcm演示appengine时找不到ant-macros.xml
当尝试构建示例gcm演示appengine时,我遇到了这个错误Google app engine 构建示例gcm演示appengine时找不到ant-macros.xml,google-app-engine,ant,google-cloud-messaging,Google App Engine,Ant,Google Cloud Messaging,当尝试构建示例gcm演示appengine时,我遇到了这个错误 vihaan@cd:~/sourceCode/gcm/samples/gcm-demo-appengine$ ant -Dsdk.dir=/home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9 runserver Buildfile: /home/vihaan/sourceCode/gcm/samples/gcm-demo
vihaan@cd:~/sourceCode/gcm/samples/gcm-demo-appengine$ ant -Dsdk.dir=/home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9 runserver
Buildfile: /home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml
BUILD FAILED
/home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml:27: Cannot find /home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9/config/user/ant-macros.xml imported from /home/vihaan/sourceCode/gcm/samples/gcm-demo-appengine/build.xml
Total time: 0 seconds
我已经检查了sdk.dir,即/home/vihaan/Downloads/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.8.9,没有配置文件夹或ant-macros.xml文件。如何以及从何处获取ant-macros.xml文件?,zip文件包含运行它所需的文件。不知道eclipse gae插件有什么问题。谢谢你的回答+1:)我下载了它,但现在java.lang.UnsupportedClassVersionError Unsupported major.minor version 51.0中出现了错误。你知道我应该做什么或使用哪个版本吗?非常感谢。