1

HTTPS を使用して SVNKit で Subversion リポジトリに接続するには? 以前に http 接続で機能したアプローチを使用します。

  DAVRepositoryFactory.setup();
repository = SVNRepositoryFactory.create(SVNURL.parseURIDecoded(url));
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(name, password);
repository.setAuthenticationManager(authManager);
repositoryRoot = repository.getRepositoryRoot(false).toString();

私は得る

org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<https://daisy.interorigins.com:443> MY repository'
4

1 に答える 1

1

私の解決策:

repository = SVNRepositoryFactory.create(SVNURL.parseURIDecoded(url));
repository = SVNRepositoryFactory.create(SVNURL.parseURI**En**coded(url));
try SVNURL.parseURIEncoded(url)
于 2011-12-05T08:08:30.850 に答える