简体   繁体   English

尝试在本地运行App Engine项目时权限被拒绝

[英]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.

相关问题 尝试在 Mac 上通过 Java 运行应用程序时权限被拒绝 - Permission denied when trying to run app through Java on Mac 尝试使用 Android 应用程序的 Java 代码在 Android 上运行 NMAP 进程时权限被拒绝 - Permission denied when trying to run NMAP process on Android using Java code of Android app HTTP错误:503当我在本地运行app-engine时 - HTTP ERROR: 503 when i run app-engine locally App Engine Cloud Endpoints框架(Java) - 在本地运行时出现NullPointerException - App Engine Cloud Endpoints Frameworks (Java) - NullPointerException when run locally 尝试启动应用程序时出现Eclipse“权限被拒绝”错误 - Eclipse “Permission denied” error when trying to launch app 在编辑代码之前尝试运行 Google App Engine 时出错 - Error when trying to run a Google App Engine before editing code 尝试写入文件时,Tomcat权限被拒绝 - Tomcat permission denied when trying to write a file 尝试以myuser身份运行作业时,权限被拒绝,但错误显示root用户没有足够的权限 - Permission denied when trying to run a job as myuser, but error says root doesn't have enough permissions 在Intellij中,当我在本地运行Google App Engine时,为什么要清理并构建战争以查看更改? - In Intellij, why must I clean and build the war to see changes when I run Google App Engine locally? 为什么我要获取appcfg.sh:尝试从Google App引擎下载应用程序时拒绝权限? - Why do i get appcfg.sh: permission denied when i try to download my app from google app engine?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM