Hello Manny, Unfortunately, I don't have experiences running a servlet through Tomcat, but it looks like this is due to a missing dependency (either in the classpath or somewhere else).
AuthenticationException is defined in gdata-core-1.0.jar. Best, Alain On Fri, Jul 22, 2011 at 11:49 AM, Manny <[email protected]> wrote: > I'm using Eclipse and Tomcat. I have no problems retreiving Google > Calendar data from a java application. It's when I try to retreive it from > a Servlet. Does anyone know why I get a ClassNotFoundException running it > through Tomcat? Below is my stacktrace. > > Jul 22, 2011 2:36:14 PM org.apache.catalina.core.StandardWrapperValve > invoke > SEVERE: Servlet.service() for servlet > [VendorSchedule.servlets.VendorSchedule] in context with path > [/VendorSchedule] threw exception [Servlet execution threw an exception] > with root cause > java.lang.ClassNotFoundException: > com.google.gdata.util.AuthenticationException > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1678) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1523) > at VendorSchedule.servlets.VendorSchedule.doGet(VendorSchedule.java:43) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > at > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:851) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:278) > at > org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515) > at > org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300) > at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) > at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) > at java.lang.Thread.run(Unknown Source) > > -- > You received this message because you are subscribed to the Google > Groups "Google Calendar Data API" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh -- You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/calendar/community/forum.html
