RE: [drools-user] UnsupportedClassVersionError
Manavalan, Anoubhama <anoubhama.manavalan <at> gwl.com>
2005-05-04 18:16:45 GMT
Great thanks, that solved the problem, I could run my sample test now.
thanks,
-Anou
-----Original Message-----
From: David Kingma | jool.nl [mailto:D.Kingma <at> jool.nl]
Sent: Wednesday, May 04, 2005 11:02 AM
To: user <at> drools.codehaus.org
Subject: Re: [drools-user] UnsupportedClassVersionError
Quoting "Manavalan, Anoubhama" <anoubhama.manavalan <at> gwl.com>:
> Hi,
>
> I downloaded the 2.0 beta 21 jar yesterday and was trying to build a small
> test program, and I got UnsupportedClassVersionError.
>
> In debug, I found this value for the class that was reported unsupported,
>
> org/drools/semantics/annotation/smf/SMFAnnotationRuleFactory (Unsupported
> major.minor version 49.0)
>
> I don't believe I have any other version lingering around anywhere, since
> this is my first download.
>
> Any ideas why I got this problem ?
Annotations is a Java 1.5 feature, you're probably using 1.4.x. Remove the
annotations jar or install java 1.5 should solve the problem.
(Continue reading)