| Author |
Getting contact list from gmail
|
sravani
Greenhorn
Joined: Dec 06, 2008
Posts: 4
|
|
hi, i have to get the gmail contact list using jsp code. For that purpose i have to use the Google data Api By using like that code i got the errors as org.apache.jasper.JasperException: Unable to compile class for JSP An error occurred at line: 2 in the jsp file: /importcontact.jsp Generated servlet error: ContactListImporter cannot be resolved to a type An error occurred at line: 2 in the jsp file: /importcontact.jsp Generated servlet error: ContactListImporterFactory cannot be resolved An error occurred at line: 2 in the jsp file: /importcontact.jsp Generated servlet error: List cannot be resolved to a type An error occurred at line: 2 in the jsp file: /importcontact.jsp Generated servlet error: Contact cannot be resolved to a type org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) We think these are errors comes due to the didn't have the proper jar files.In that i didn't place any jar files in lib folder. If these error comes due to jar files please tell that what jar files i have to to place in the lib folder. otherwise please tell that whats the problem in my code.
|
 |
Amol Nayak
Ranch Hand
Joined: Oct 26, 2006
Posts: 218
|
|
Is the thirdparty jar present in your webapp's WEB-INF/lib directory? You also need to import java.util.List. [ December 07, 2008: Message edited by: Amol Nayak ]
|
 |
sudipto shekhar
Ranch Hand
Joined: Apr 02, 2008
Posts: 813
|
|
|
Your jsp code please..
|
Regards, Sud.
SCJP 5 ScjpFAQ JLS
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
"sravani", Please check your private messages regarding an important administrative matter. -Ben
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
 |
|
|
subject: Getting contact list from gmail
|
|
|