youtube / api-samples

Code samples for YouTube APIs, including the YouTube Data API, YouTube Analytics API, and YouTube Live Streaming API. The repo contains language-specific directories that contain the samples.
5.52k stars 2.98k forks source link

Java Sample Compilation Errors #48

Open ronemrick opened 9 years ago

ronemrick commented 9 years ago

Hello,

Anyone able to compile the Java samples? Pulled them down, ran mvn compile and received a host of errors.

-Ron

noder123 commented 8 years ago

+1

thoughtassassin commented 8 years ago

+1 I got my build to run by updating my version of com.google.apis to v3-rev165-1.21.0. Also, I tried to run RetrieveReports and I had to change some of the dependencies in CommentThread and CommentHandling from V3CommentListResponse and V3CommentThreadListResponse to CommentListResponse and CommentThreadListResponse. Also, in RetrieveReports there was a reference to GenericUrl but it wasn't in the list of imports. I added that to the list of imports and everything began compiling. I ran this through IntelliJ.