I am using Eclipse GIT (EGIT) to check out from
https://github.com/SpringSource/spring-mvc-showcase
After trying to clone the repository I am receiving the error:
https://github.com/SpringSource/spring-mvc-showcase: https://github.com/SpringSource/spring-mvc-showcase /info/refs?service=git-upload-pack not found
Please, check
Network Connection settings
Network Connection -> SSH2 Eclipse Preference
This error is caused by not having the latest version of git due to updates in the server-side application. I recommend trying to access it through a different protocol (git:// or ftp) if possible. Otherwise, just check for updates in the egit plugin.
Update:
I have learned for a fact that github supports the git protocol. You can use
git://github.com/SpringSource/spring-mvc-showcase.git
as the repository. (If egit asks for a protocol separately from the URL, change it from https to git).
Related
I have TFS 2018.2 and Eclipse IDE for Enterprise Java Developers Version 2019-06 (4.12.0). In eclipse I have installed Team Explorer Everywhere plugin and I am able to see all my Git repository however when I try to clone a git repository using the administrator account in TFS I get below error:
Error cloning the <GitName> repository.
http://../..//<GitName>: not authorized.
Clone Error:
Eclipse Version:
Reference Document
In case if the question is placed in the wrong forum path feel free to correct it.
I have tried the resolution provided in https://github.com/microsoft/team-explorer-everywhere#frequently-asked-questions-faq
Also, tried installing latest versions of Egit in Eclipse - https://download.eclipse.org/egit/updates/
I am not sure how to use the older version of Egit to try the import of repository. I seem to have latest version of Egit.
UPDATE:
Apparently I am able to resolve the issue by following below steps:
And creating a Git repository from File menu and then utilizing the 'Copy clone URL' from the first image. Select the newly created repository and perform right click on it to select 'Paste repository path or url' which would ask for authentication and repo would be copied.
However the action items have carried TFS to run into issues:
and
According to your description, I'm afraid you are in the wrong direction to fix this issue.
Your error actually is "not authorized" which is not Authentication not supported. There are totally different issues. Instead of digging into that QA, you should try to figure out why it's not authorized for MyGit repository.
First give a try to use Eclipse with version 4.2 to 4.6 instead of latest according to official link of team-explorer-everywhere.
Supported on Linux, Mac OS X, and Windows. Compatible with IDEs that
are based on Eclipse 4.2 to 4.6.
Besides follow below steps to narrow down the issue:
You should also use git command line by using the administrator
account in TFS and check if you are able to use it to connect/clone
MyGit repository which hosted by TFS server.
Check if your Eclipse can connect to and clone library from any
GitHub repo correctly.
Update or delete cached credentials from Control Panel ->
Credential Manager -> Generic Credentials the password for
git:http://ServerName:xx/
We have a small team of developers working on a project that works with a Git repository hosted by TFS that is already owned by the customer. We are using Eclipse and eGit. How can I tell what protocol is being used when we do pull and push? I can see the URL but i'm not sure how to tell what the protocol is.. I'm interested in knowing if SSH is involved.
git remote get-url --all origin
will to display information about URLs of the remote. If they start with https then http is used. If they start with user#server.domain then, most likely, ssh is used.
I create repository by TortoiseSVN and when I want to share project in eclipse
(left click on class -> team ->share project-> I choose SVN -> url: file///my repo ) I have mistakes:
Share project was failed.
svn: E180001: Unable to open an ra_local session to URL
svn: E180001: Unable to open repository
'file:///C:/SVN/MyNewRepository'
svn: E125006: 'C:\SVN\MyNewRepository\db\format' contains invalid
filesystem format option 'addressing logical'
What I should do? Please give me some advice because I can't add anything in my repo
Install a Subversion server and access your repositories over HTTP(S) to solve the problem.
You are getting this error because there is a mix up of Subversion versions in TortoiseSVN and Eclipse. TortoiseSVN 1.9 creates SVN repository in SVN 1.9 format and Eclipse that's using non-standard Subversion client of older version (1.8 or older), does not support accessing this repository directly through file:// access.
I am able to connect to GIT server from RSA 9.1 using the TFS plugin.However, while accessing the Git repositories, I am getting the following internal error:
An internal error occurred during: "Loading section 'All
Repositories'". org/eclipse/egit/core/Activator "
Any idea what am I missing?
You can get a local clone of the remote repository and then import the repository
Or you can host your remote repository in TFS, then manually configured in EGit. Once this connection is established, you can use the EGit tools to perform basically any Git function, like committing, pushing, and creating new branches.
Details refer the 'Integration with Eclipse EGit tools' in this blog.
And you can download egit from here.
I've had Subclipse set up and working correctly. Recently I needed to create a 2nd repository in SVN for another project in a separate Eclipse workspace. Up to this point my dav_svn.conf file was setup to only provide access to the first repository. So I created the new repository. Then I enabled the SVNParentPath and SVNListParentPath directives, did not change the <Location URL>, and verified that it was working ok by just using my web browser on the client PC and everything was great.
But when I tested it in Eclipse, if I use the SVN Repository Exploring view, Subclipse insists that the repository can't be found - none of the Team functions work. Nor will it list the other repository that should be available at that URL if I just try to create a new repository.
Do I need to relocate the repository via SVN Repository Exploring View? (despite the dire warnings) Or is there actually something wrong with Subclipse?
I'm using Eclipse 3.7.2 on Ubuntu 12.04, along with:
org.tigris.subversion.clientadapter.feature (1.8.6) "Subversion Client Adapter"
org.tigris.subversion.clientadapter.javahl.feature (1.7.10) "Subversion JavaHL"
org.tigris.subversion.clientadapter.svnkit.feature (1.7.9.2) "SVNKit Client Adapter"
org.tigris.subversion.subclipse (1.8.22) "SVN Team Provider Core"
org.tigris.subversion.subclipse.graph.feature (1.1.1) "Subversion Revision Graph"
the subversion repository is hosted on a Ubuntu server (10.04 LTS) and being served via Apache using the dav_svn 'plugin'.
Most likely the URL for the repository has changed, so yes you would need to take the Relocate option so that you can update the URL. Note that you have to give Subclipse the URL to one of your repositories, not to the parent path. No SVN client will accept the URL to the parent. So, for example, the URL needs to be:
http://server.com/svn/repos
not -
http://server.com/svn
I do not believe the message when you do Relocate is "dire" it is just letting you know what it is going to do.