You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Maxim Solodovnik <so...@gmail.com> on 2018/11/11 17:02:50 UTC

Wicketstuff: please help with Scala

Hello,

I have updated wicketstuff master to junit5
Unfortunately I was unable to migrate scalatests
Can someone take a look at them?

-- 
WBR
Maxim aka solomax

Re: Wicketstuff: please help with Scala

Posted by Martin Grigorov <mg...@apache.org>.
Right, scalatest-maven-plugin is not aware of Maven toolchains.
I've created https://github.com/scalatest/scalatest-maven-plugin/issues/58

On Tue, Nov 13, 2018 at 7:34 AM Maxim Solodovnik <so...@gmail.com>
wrote:

> Thanks a lot Martin!
>
> Travis build is green :)
>
> The only issue I see right now is when java8 is default java/javac in the
> system
> The following error is being reported:
>
> [INFO] --- scalatest-maven-plugin:2.0.0:test (test) @ wicketstuff-scala ---
> Discovery starting.
> *** RUN ABORTED ***
>   java.lang.UnsupportedClassVersionError:
> org/apache/wicket/ajax/markup/html/AjaxFallbackLink 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
>   at java.lang.ClassLoader.defineClass1(Native Method)
>   at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
>   at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
>   at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
>   at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
>   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>
>
> [INFO] Wicket-Scala ....................................... FAILURE [
> 24.956 s]
>
>
> It seems toolchain plugin doesn't work as expected for some reason :(
>
> On Mon, 12 Nov 2018 at 02:59, Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Fixed it!
> >
> > On Sun, Nov 11, 2018 at 9:18 PM Martin Grigorov <mg...@apache.org>
> > wrote:
> >
> > > Hi Maxim,
> > >
> > > I will take a look!
> > >
> > > On Sun, Nov 11, 2018 at 7:03 PM Maxim Solodovnik <solomax666@gmail.com
> >
> > > wrote:
> > >
> > >> Hello,
> > >>
> > >> I have updated wicketstuff master to junit5
> > >> Unfortunately I was unable to migrate scalatests
> > >> Can someone take a look at them?
> > >>
> > >> --
> > >> WBR
> > >> Maxim aka solomax
> > >>
> > >
> >
>
>
> --
> WBR
> Maxim aka solomax
>

Re: Wicketstuff: please help with Scala

Posted by Maxim Solodovnik <so...@gmail.com>.
Thanks a lot Martin!

Travis build is green :)

The only issue I see right now is when java8 is default java/javac in the
system
The following error is being reported:

[INFO] --- scalatest-maven-plugin:2.0.0:test (test) @ wicketstuff-scala ---
Discovery starting.
*** RUN ABORTED ***
  java.lang.UnsupportedClassVersionError:
org/apache/wicket/ajax/markup/html/AjaxFallbackLink 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
  at java.lang.ClassLoader.defineClass1(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
  at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
  at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
  at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:424)


[INFO] Wicket-Scala ....................................... FAILURE [
24.956 s]


It seems toolchain plugin doesn't work as expected for some reason :(

On Mon, 12 Nov 2018 at 02:59, Martin Grigorov <mg...@apache.org> wrote:

> Fixed it!
>
> On Sun, Nov 11, 2018 at 9:18 PM Martin Grigorov <mg...@apache.org>
> wrote:
>
> > Hi Maxim,
> >
> > I will take a look!
> >
> > On Sun, Nov 11, 2018 at 7:03 PM Maxim Solodovnik <so...@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> I have updated wicketstuff master to junit5
> >> Unfortunately I was unable to migrate scalatests
> >> Can someone take a look at them?
> >>
> >> --
> >> WBR
> >> Maxim aka solomax
> >>
> >
>


-- 
WBR
Maxim aka solomax

Re: Wicketstuff: please help with Scala

Posted by Martin Grigorov <mg...@apache.org>.
Fixed it!

On Sun, Nov 11, 2018 at 9:18 PM Martin Grigorov <mg...@apache.org>
wrote:

> Hi Maxim,
>
> I will take a look!
>
> On Sun, Nov 11, 2018 at 7:03 PM Maxim Solodovnik <so...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I have updated wicketstuff master to junit5
>> Unfortunately I was unable to migrate scalatests
>> Can someone take a look at them?
>>
>> --
>> WBR
>> Maxim aka solomax
>>
>

Re: Wicketstuff: please help with Scala

Posted by Martin Grigorov <mg...@apache.org>.
Hi Maxim,

I will take a look!

On Sun, Nov 11, 2018 at 7:03 PM Maxim Solodovnik <so...@gmail.com>
wrote:

> Hello,
>
> I have updated wicketstuff master to junit5
> Unfortunately I was unable to migrate scalatests
> Can someone take a look at them?
>
> --
> WBR
> Maxim aka solomax
>