facebook

Enumeration cannot be resolved

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #261852 Reply

    Hi,

    I upgraded to MyEclipse 5.1. Since then I have a problem with the validation of my code. Everywhere I use the java.util.Enumeration Interface the IDE is telling me that “Enumeration cannot be resolved” also it is successfully imported in the import section. Building the project works fine and the class are generated. This is annoying.

    I’m using the J2SDK1.4.2_13 and it is correctly imported to the library path.

    Thank you in advance
    Marc

    #261858

    I found the solution. I (once again) forgot to set the right target (1.4 compliance) in the properties dialog.

    #267765

    pawebber
    Participant

    I am having this same problem; what exactly did you do to resolve this?

    Thanks!

    Pam

    #267775

    Riyad Kalla
    Member

    Pam,
    The issue is that Enumeration was added in java 5. You will need to make sure you have the JRE 1.5 added to your build path for that code to compile.

    #283916

    mthadath
    Member

    This message has not been recovered.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Enumeration cannot be resolved

You must be logged in to post in the forum log in