Hello all,
I'm tryng to Connect to a CalDAV Store but i get this error:
[ERROR]: Principals not found
This is my code :
net.fortuna.ical4j.connector.CalendarStore store =new CalDavCalendarStore("-//Ben Fortuna//iCal4j Connector 1.0//EN", "www.google.com", 443,Protocol.getProtocol("https"), PathResolver.ICAL_SERVER);
if (store != null) { try { store.connect(username, password.toCharArray()); } catch (ObjectStoreException e1) { LOG.error(e1.getCause()); LOG.error(e1.getMessage()); LOG.error("u have to check the connection to CalendarStore "); }
Anyone have suggestions? Many Thanks
Log in to post a comment.
Hello all,
I'm tryng to Connect to a CalDAV Store but i get this error:
[ERROR]: Principals not found
This is my code :
net.fortuna.ical4j.connector.CalendarStore store =new CalDavCalendarStore("-//Ben Fortuna//iCal4j Connector 1.0//EN", "www.google.com", 443,Protocol.getProtocol("https"), PathResolver.ICAL_SERVER);
if (store != null) {
try {
store.connect(username, password.toCharArray());
} catch (ObjectStoreException e1) {
LOG.error(e1.getCause());
LOG.error(e1.getMessage());
LOG.error("u have to check the connection to CalendarStore ");
}
Anyone have suggestions?
Many Thanks