作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在尝试通过命令行使用谷歌应用程序引擎上传java应用程序。我已正确输入电子邮件和密码,但收到未经授权的错误消息。
C:\j\bin>appcfg.cmd update facebook/https_www.facebook.com_login.php_login_attem
pt=1/war
Reading application configuration data...
Dec 10, 2011 2:45:39 AM com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed facebook/https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/appengine-web.xml
Dec 10, 2011 2:45:39 AM com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed facebook/https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/web.xml
Beginning server interaction for confirm-account...
0% Created staging directory at: 'C:\DOCUME~1\prasad\LOCALS~1\Temp\appcfg3683113
221538013906.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
Dec 10, 2011 2:45:41 AM com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: www.facebook.com_login.php_login_attempts
=1.php
Dec 10, 2011 2:45:41 AM com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: __static__/www.facebook.com_login.php_log
in_attempts=1.php
25% Initiating update.
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
java.io.IOException: Error posting to URL:
ersion/create?app_id=confirm-account&version=1&
401 Unauthorized
Must authenticate first.
Unable to update app: Error posting to URL:
version/create?app_id=confirm-account&version=1&
401 Unauthorized
Must authenticate first.
Please see the logs [C:\DOCUME~1\prasad\LOCALS~1\Temp\appcfg9182114970567100400.
log] for further information.
C:\j\bin>appcfg.sh update facebook/https_www.facebook.com_login.php_login_attemp
t=1/war
C:\j\bin>appcfg.cmd update facebook/https_www.facebook.com_login.php_login_attem
pt=1/war
Reading application configuration data...
Dec 10, 2011 2:58:28 AM com.google.apphosting.utils.config.AppEngineWebXmlReader
readAppEngineWebXml
INFO: Successfully processed facebook/https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/appengine-web.xml
Dec 10, 2011 2:58:28 AM com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed facebook/https_www.facebook.com_login.php_login_att
empt=1/war\WEB-INF/web.xml
Beginning server interaction for confirm-account...
0% Created staging directory at: 'C:\DOCUME~1\prasad\LOCALS~1\Temp\appcfg6669469
867917197838.tmp'
5% Scanning for jsp files.
20% Scanning files on local disk.
Dec 10, 2011 2:58:29 AM com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: www.facebook.com_login.php_login_attempts
=1.php
Dec 10, 2011 2:58:29 AM com.google.appengine.tools.admin.AppVersionUpload addFil
e
SEVERE: Invalid character in filename: __static__/www.facebook.com_login.php_log
in_attempts=1.php
25% Initiating update.
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
Email: madushka.prasad@gmail.com
Password for madushka.prasad@gmail.com:
java.io.IOException: Error posting to URL:
ersion/create?app_id=confirm-account&version=1&
401 Unauthorized
Must authenticate first.
Unable to update app: Error posting to URL:
version/create?app_id=confirm-account&version=1&
401 Unauthorized
Must authenticate first.
Please see the logs [C:\DOCUME~1\prasad\LOCALS~1\Temp\appcfg3311199412959094475.
log] for further information.
最佳答案
如果您确实在名为的目录中有一个应用程序引擎项目
facebook/https_www.facebook.com_login.php_login_attempt=1
那么我尝试的第一件事就是将其重命名为不包含 =
的名称。
关于java - 使用谷歌应用程序引擎java sdk上传java应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8440823/
我有以下正则表达式 /[a-zA-Z0-9_-]/ 当字符串只包含从 a 到z 大小写、数字、_ 和 -。 我的代码有什么问题? 能否请您向我提供一个简短的解释和有关如何修复它的代码示例? //var
我是一名优秀的程序员,十分优秀!