UnsupportedClassVersionError

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

UnsupportedClassVersionError

Jeremy Olmstead
When I try to compile OFBiz 18.12 on my development PC I am now getting the
following error:

A problem occurred evaluating root project 'ofbiz'.
> java.lang.UnsupportedClassVersionError:
at/bxm/gradleplugins/svntools/SvnToolsPlugin has been compiled by a more
recent version of the Java Runtime (class file version 55.0), this version
of the Java Runtime only recognizes class file versions up to 52.0

I haven't changed anything that I am aware of and this just popped up
this morning, but it has been working fine for years. Any idea what the
problem could be?

Thanks,
Jeremy Olmstead
Reply | Threaded
Open this post in threaded view
|

Re: UnsupportedClassVersionError

Jeremy Olmstead
I changed the build.gradle file dependency from

classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:latest.release'

to

classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1'

and that allowed me to compile.

On Mon, Apr 20, 2020 at 10:30 AM Jeremy Olmstead <[hidden email]>
wrote:

> When I try to compile OFBiz 18.12 on my development PC I am now getting
> the following error:
>
> A problem occurred evaluating root project 'ofbiz'.
> > java.lang.UnsupportedClassVersionError:
> at/bxm/gradleplugins/svntools/SvnToolsPlugin has been compiled by a more
> recent version of the Java Runtime (class file version 55.0), this version
> of the Java Runtime only recognizes class file versions up to 52.0
>
> I haven't changed anything that I am aware of and this just popped up
> this morning, but it has been working fine for years. Any idea what the
> problem could be?
>
> Thanks,
> Jeremy Olmstead
>
Reply | Threaded
Open this post in threaded view
|

Re: UnsupportedClassVersionError

Jacques Le Roux
Administrator
Yes thanks Jeremy,

This had been handled this morning by https://issues.apache.org/jira/browse/OFBIZ-11601.

Jacques

Le 20/04/2020 à 17:42, Jeremy Olmstead a écrit :

> I changed the build.gradle file dependency from
>
> classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:latest.release'
>
> to
>
> classpath 'at.bxm.gradleplugins:gradle-svntools-plugin:2.2.1'
>
> and that allowed me to compile.
>
> On Mon, Apr 20, 2020 at 10:30 AM Jeremy Olmstead <[hidden email]>
> wrote:
>
>> When I try to compile OFBiz 18.12 on my development PC I am now getting
>> the following error:
>>
>> A problem occurred evaluating root project 'ofbiz'.
>>> java.lang.UnsupportedClassVersionError:
>> at/bxm/gradleplugins/svntools/SvnToolsPlugin has been compiled by a more
>> recent version of the Java Runtime (class file version 55.0), this version
>> of the Java Runtime only recognizes class file versions up to 52.0
>>
>> I haven't changed anything that I am aware of and this just popped up
>> this morning, but it has been working fine for years. Any idea what the
>> problem could be?
>>
>> Thanks,
>> Jeremy Olmstead
>>