Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6155023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:21:54+00:00 2026-05-23T20:21:54+00:00

I have followed the instructions for installing the Google App Engine SDK Eclipse plugin:

  • 0

I have followed the instructions for installing the Google App Engine SDK Eclipse plugin:

http://code.google.com/appengine/docs/java/gettingstarted/installing.html
http://code.google.com/appengine/downloads.html#Download_the_Google_Plugin_for_Eclipse

I then followed the instructions to create a new project:

http://code.google.com/appengine/docs/java/tools/eclipse.html#Creating_a_Project

However when I try and debug or runt he project within Eclipse I receive the following error:

Exception in thread "main" java.lang.NoSuchMethodError: java.util.Collections.newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
    at com.google.appengine.tools.development.LocalEnvironment.<init>(LocalEnvironment.java:63)
    at com.google.appengine.tools.development.AbstractContainerService$LocalInitializationEnvironment.<init>(AbstractContainerService.java:538)
    at com.google.appengine.tools.development.AbstractContainerService.loadAppEngineWebXml(AbstractContainerService.java:288)
    at com.google.appengine.tools.development.AbstractContainerService.startup(AbstractContainerService.java:160)
    at com.google.appengine.tools.development.DevAppServerImpl.start(DevAppServerImpl.java:172)
    at com.google.appengine.tools.development.DevAppServerMain$StartAction.apply(DevAppServerMain.java:164)
    at com.google.appengine.tools.util.Parser$ParseResult.applyArgs(Parser.java:48)
    at com.google.appengine.tools.development.DevAppServerMain.<init>(DevAppServerMain.java:113)
    at com.google.appengine.tools.development.DevAppServerMain.main(DevAppServerMain.java:89)

So it seems the method java.util.Collections.newSetFromMap cannot be found, and indeed it does not exist in Java 1.5: http://download.oracle.com/javase/1.5.0/docs/api/java/util/Collections.html

But it does exist in Java 1.6: http://download.oracle.com/javase/6/docs/api/java/util/Collections.html#newSetFromMap(java.util.Map)

This is a little confusing because the Google App Engine is for Java 1.5, or at least it appears this way from looking at the plugin directory containing the SDK:

eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.5.1.r36v201106211634

I’m unsure about why I’m getting this error when I’ve followed the instructions.

SOLUTION

@kisp – thanks that set me on my way to solving the problem.

I have two versions of Java (1.5 and 1.6) installed on my Ubuntu machine:

/usr/lib/jvm/java-6-sun

and

/usr/lib/jvm/java-1.5.0-sun

I had only told Eclipse about Java 1.5. I needed to tell it about 1.6. To do this, open Eclipse:

Window > Preferences > Java > Installed JREs > Add

JRE home should just point to the directory Java is installed to, for me this is:

/usr/lib/jvm/java-6-sun-1.6.0.24

JRE name is defaults to a sensible value.

Once this has been added you can either set it as a the workspace default or set project specific settings. Right click on the project in Package Explorer:

Properties > Java Compiler >  Enable project specific settings

You should see your newly added Java version in the drop down menu.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:21:54+00:00Added an answer on May 23, 2026 at 8:21 pm

    The plugin version does not correspond to java version.

    I have 1.4.2 installed and using java 1.6

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have followed all the instructions here: http://www.tonyspencer.com/2003/10/22/curl-with-php-and-apache-on-windows/ to install & config apache get
I have followed the instructions on http://railscasts.com/episodes/147-sortable-lists for creating a sortable list. The list
I downloaded eclipse 3.4.2 and tried installing tomcat plugin (version 3.2.1)for eclipse from sysdeo
I've ran into problems installing the LGPL version of the Qt SOAP component: http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap/
I have followed the instructions Apple publishes for unit testing applications on iPhone and
I have followed the instructions from this SO question: How to change the text
I have followed the installation instructions as shown here to install the FedOne server,I
I have followed the blog post written by Steve Sanderson at blog.codeville.net/2008/10/14/partial-requests-in-aspnet-mvc . It
I have followed the suggestion in this question... [ How to handle checkboxes in
I have a DSS service I created (For Microsoft Robotics Studio). I then followed

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.