1
사용자 Gmail 계정에서 연락처를 가져올 때 현재 문제가 발생합니다.GWT 2.4 업그레이드 후 gmail에서 연락처를 가져올 수 없습니다.
GWT 2.4로 업그레이드하기 전에 2.4에서 2.3으로 업그레이드했기 때문에 GWT 2.4로 업그레이드하기 전에 오류가 발생했습니다.
try
{
myService.setUserCredentials(username, password);
}
catch (final AuthenticationException e)
{
//log exception
}
URL feedURL;
try
{
feedURL = new URL("https://www.google.com/m8/feeds/contacts/default/full?max-results=1000");
}
catch (final MalformedURLException e)
{
//log exception
}
ContactFeed resultFeed;
try
{
resultFeed = myService.getFeed(feedURL, ContactFeed.class);
}
catch (final IOException e) //Exception is caught here, see below
{
//log exception
}
catch (ServiceException e)
{
//log exception
}
무엇을 잡았되고있다 : GWT 2.4로 업그레이드
cause = ProtocolException
detailedMessage= "Missing WWW-Authenticate header"
java.net.ProtocolException: Missing WWW-Authenticate header
수행해야 할 새로운 인증이를? 나는 이것이 사실이라고 말하는 것을 발견하지 못했습니다. 구체적으로는 developer guide입니다.
이 시점에서 조언을 크게 듣습니다.