I am using eclipse. I have one Google App Engine project with spring is working locally and I am able to deploy it to google server.
我正在使用eclipse。我有一个Google App Engine项目,Spring在本地工作,我可以将它部署到谷歌服务器。
Now I changed it with Maven integrity. It works locally fine. I am running it locally by maven build by setting appengine:devserver as goal.
现在我用Maven完整性改变了它。它在当地很好用。我通过设置appengine:devserver作为目标,通过maven build在本地运行它。
But when try to deploy it to Google server, then it says error as follows.
但是当尝试将其部署到Google服务器时,它会说错误如下。
Please help me.
请帮我。
Failed to initialize App Engine SDK at C:\Users\mviramga.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.8.6\appengine-api-1.0-sdk-1.8.6.jar Unable to find C:\Users\mviramga.m2\repository\com\google\appengine\appengine-api-1.0-sdk\1.8.6\appengine-api-1.0-sdk-1.8.6.jar\lib\shared
无法在C:\ Users \ mviramga.m2 \ repository \ com \ google \ appengine \ appengine-api-1.0-sdk \ 1.8.6 \ appengine-api-1.0-sdk-1.8.6.jar初始化App Engine SDK无法使用找到C:\ Users \ mviramga.m2 \ repository \ com \ google \ appengine \ appengine-api-1.0-sdk \ 1.8.6 \ appengine-api-1.0-sdk-1.8.6.jar \ lib \ shared
pom.xml
<appengine.target.version>1.8.6</appengine.target.version>
<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>${appengine.target.version}</version>
</dependency>
1 个解决方案
#1
0
I resolved the issue. I am using jdk7
我解决了这个问题。我正在使用jdk7
Eclipse Project is taking appengine-api-1.0-sdk-1.8.6.jar as SDK library and search for other subfolders so it gives error. If I select sdk installed external folder then it was not setting that folder.
Eclipse Project将appengine-api-1.0-sdk-1.8.6.jar作为SDK库并搜索其他子文件夹,因此它会出错。如果我选择sdk安装外部文件夹,那么它没有设置该文件夹。
So I did added that folder as library in project and gave highest priority and then it worked. Thanks for your all help.
所以我确实将该文件夹添加为项目中的库并给予最高优先级,然后它才起作用。谢谢你的帮助。
#1
0
I resolved the issue. I am using jdk7
我解决了这个问题。我正在使用jdk7
Eclipse Project is taking appengine-api-1.0-sdk-1.8.6.jar as SDK library and search for other subfolders so it gives error. If I select sdk installed external folder then it was not setting that folder.
Eclipse Project将appengine-api-1.0-sdk-1.8.6.jar作为SDK库并搜索其他子文件夹,因此它会出错。如果我选择sdk安装外部文件夹,那么它没有设置该文件夹。
So I did added that folder as library in project and gave highest priority and then it worked. Thanks for your all help.
所以我确实将该文件夹添加为项目中的库并给予最高优先级,然后它才起作用。谢谢你的帮助。