What steps will reproduce the problem?
1. I am creating the YoutubeService object by YouTubeService service = new
YouTubeService(clientID, developer_key);
2.Then calling the setUserCredential method for the user who is having the
clientID and the developer_key for Step 1
3. Then Using the VideoEntry to get the uploadtoken by
URL uploadUrl = new URL("http://gdata.youtube.com/action/GetUploadToken");
I am using Eclipse IDE on WIndow 7 and JSP as a page for requesting the token
and the URL
But I am getting the Below Error
java.lang.NoClassDefFoundError: Could not initialize class
com.google.gdata.client.youtube.YouTubeService
org.apache.jsp.index_jsp._jspService(index_jsp.java:89)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
I am using the below jars
1. gdata-client-1.0.jar
2. gdata-core-1.0.jar
3. gdata-media-1.0.jar
4. gdata-youtube-2.0.jar
5. google-collect-1.0-rc1.jar
6. guava-11.0.1.jar either guava-r07.jar
7. mail.jar
Please Suggest
Original issue reported on code.google.com by atif.khw...@novosol.biz on 27 Mar 2014 at 1:48
Original issue reported on code.google.com by
atif.khw...@novosol.biz
on 27 Mar 2014 at 1:48Attachments: