以下代码老是提示异常
Error connecting with login URIimport com.google.gdata.client.*;
import com.google.gdata.client.calendar.*;
import com.google.gdata.util.*;
import java.io.*;/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class CalendarTest {
public static void main(String[] args) {
CalendarService myService = new CalendarService("exampleCo-exampleApp-1");
try {
myService.setUserCredentials("[email protected]", "mypassword");
} catch (AuthenticationException ex) {
System.out.println(ex.getMessage());
}
}
}
Error connecting with login URIimport com.google.gdata.client.*;
import com.google.gdata.client.calendar.*;
import com.google.gdata.util.*;
import java.io.*;/**
* <p>Title: </p>
*
* <p>Description: </p>
*
* <p>Copyright: Copyright (c) 2007</p>
*
* <p>Company: </p>
*
* @author not attributable
* @version 1.0
*/
public class CalendarTest {
public static void main(String[] args) {
CalendarService myService = new CalendarService("exampleCo-exampleApp-1");
try {
myService.setUserCredentials("[email protected]", "mypassword");
} catch (AuthenticationException ex) {
System.out.println(ex.getMessage());
}
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货