Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/qt/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
吉特+;Eclipse:401未经授权的错误_Eclipse_Git_Apache_Eclipse Plugin_Smart Http - Fatal编程技术网

吉特+;Eclipse:401未经授权的错误

吉特+;Eclipse:401未经授权的错误,eclipse,git,apache,eclipse-plugin,smart-http,Eclipse,Git,Apache,Eclipse Plugin,Smart Http,我的rasperry pi上有一份git回购协议,是Apache的 我使用git+smart http:从Linux客户机,使用终端,一切正常 例如,我可以使用以下命令克隆回购: git clone http://address:8080/git/repo_name 在插入用户名和密码后,它就可以工作了 但是,如果我想使用Eclipse克隆repo,它会显示以下错误: 这是apache的错误日志: [Wed Sep 28 12:33:13.321726 2016] [negotiation:

我的rasperry pi上有一份git回购协议,是Apache的
我使用git+smart http:从Linux客户机,使用终端,一切正常
例如,我可以使用以下命令克隆回购:

git clone http://address:8080/git/repo_name
在插入用户名和密码后,它就可以工作了

但是,如果我想使用Eclipse克隆repo,它会显示以下错误:

这是apache的错误日志:

[Wed Sep 28 12:33:13.321726 2016] [negotiation:error] [pid 28020] [client 131.114.176.222:37524] AH00690: no acceptable variant: /usr/share/httpd/error/HTTP_UNAUTHORIZED.html.var
这是我的apache配置(关于git和smart http):


选项执行CGI索引
命令允许,拒绝
通融
要求所有授权
选项+执行CGI
AuthType Basic
AuthName“Git登录”
AuthUserFile/srv/git/.git auth文件
需要有效用户
选项+执行CGI
AuthType Basic
AuthName“Git登录”
AuthUserFile/srv/git/.git auth文件
需要有效用户
SetEnv GIT_PROJECT_ROOT/srv/GIT
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias/git//usr/lib/git-core/git-http后端/
有什么想法吗

附言:我正在使用

  • 面向Web开发人员的EclipseJavaEEIDE。版本:Neon发行版(4.6.0)构建id:20160613-1800

  • EGit 4.4.0.20160607


我也遇到过同样的问题,我读到这是一个eclipse错误,正在修复


现在,您可以修复安装“EPP MArketplace Client”的问题。在eclipse中,单击“帮助->安装新软件”,并输入以下url:,然后安装。

非常感谢!。。我在氧气[4.7.0 M2]上也遇到了这个问题。安装上述软件后,它开始工作!。
<Directory "/usr/lib/git-core*">
   Options ExecCGI Indexes
   Order allow,deny
   Allow from all
   Require all granted
</Directory>

<LocationMatch "^/.*/git-receive-pack$">
    Options +ExecCGI
    AuthType Basic
    AuthName "Git Login"
    AuthUserFile /srv/git/.git-auth-file
    Require valid-user
</LocationMatch>

<LocationMatch "^/.*/git-upload-pack$">
    Options +ExecCGI
    AuthType Basic
    AuthName "Git Login"
    AuthUserFile /srv/git/.git-auth-file
    Require valid-user
</LocationMatch>

SetEnv GIT_PROJECT_ROOT /srv/git
SetEnv GIT_HTTP_EXPORT_ALL
ScriptAlias /git/ /usr/lib/git-core/git-http-backend/