Tomasz is right, you are compiling with JDK 6 but running on JDK5. That is why you receive ClassVersionError.
The Eclipse Compiler compliance is something else. Setting compliance to 1.5 means that if you use JDK6 features the compiler will complain and highlight them. But you still can't run a JDK6 compiled class on JDK5. Java is backwards compatible, not forwards compatible. Bob On Fri, Sep 10, 2010 at 10:11 PM, easydoor <[email protected]> wrote: > Is anyone could solve my problem ? > > > > >
