eclipse warning message

Posted on 2006-05-05
Last Modified: 2010-03-31

hello there,

i would like to know what does this warning message mean in my code which i get in my eclipse IDE

The serializable class does not declare a static final serialVersionUID field of type long
Question by:zolf
    LVL 24

    Accepted Solution

    If a class is "implementing Serializable" it should contain that variable.

    You can switch the warning off (Window->Preferences ...) if you don't want to comply
    to this (small) standard.

    Most people switch it off.

    LVL 24

    Expert Comment

    Window->Preferences->Java->Compiler->Errors/Warnings->Potential programming problems-> 1st option.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
    This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
    Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now