YouTube Java API problems
问题 I'm trying to get a list of videos by a certain user using the YouTube Java GData library/API. However, when I try to create a service by using YouTubeService service = new YouTubeService("Cyphon-MyCampusPulse-1", YOUTUBE_API_KEY); , I get the following runtime exception: Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/MessagingException at scrapers.YouTubePulseScraper.<init>(YouTubePulseScraper.java:37) at scrapers.YouTubePulseScraper.main(YouTubePulseScraper.java:153)