[英]Permission denied when trying to run app engine project locally
The OS MacOS X. Using the terminal, I tried following the steps of how to run a GAE application in a local data store. 操作系统MacOSX。使用终端,我尝试遵循如何在本地数据存储中运行GAE应用程序的步骤。 I dragged the file dev_appserver.sh, located in bin folder afterwards, dragged the war folder of my GAE project.
之后,我拖动了位于bin文件夹中的文件dev_appserver.sh,并拖动了我的GAE项目的war文件夹。
I get this error "Permission Denied" when I run it from the terminal. 从终端运行该错误时,出现“权限被拒绝”错误。
/Eclipse-EE/plugins/com.google.appengine.eclipse.sdkbundle_1.9.15/appengine-java-sdk-1.9.15/bin/dev_appserver.sh -deploy /Users/myUserName/Documents/workspace/project-name/GAE/war
/Eclipse-EE/plugins/com.google.appengine.eclipse.sdkbundle_1.9.15/appengine-java-sdk-1.9.15/bin/dev_appserver.sh -deploy / Users / myUserName / Documents / workspace / project-name / GAE /战争
What could be the problem 可能是什么问题呢
Change the Permission u+x to the appcfg.sh file 将权限u + x更改为appcfg.sh文件
Note: If you are using Mac OS X or Linux, you must give the command files executable permission before you can run them. 注意:如果使用的是Mac OS X或Linux,则必须授予命令文件可执行权限,然后才能运行它们。 For example, to give appcfg.sh executable permission, enter the following command from the appengine-java-sdk/bin/ directory: chmod u+x appcfg.sh
例如,要授予appcfg.sh可执行权限,请从appengine-java-sdk / bin /目录中输入以下命令:chmod u + x appcfg.sh
Reference link - https://cloud.google.com/appengine/docs/java/tools/eclipse 参考链接-https://cloud.google.com/appengine/docs/java/tools/eclipse
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.