Hello!

I tried both approaches (from Jonathan and Daniel), but I'm still having a
hard time
to figure it out to get it to work.

According to my search, it's because the surefire plugin isn't
including the JAXB API in its classpath, thus the Exception
(java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException) is being
thrown
during the execution of integration tests.

I'm not sure in how to proceed right now.

Thank you

Em seg., 30 de mar. de 2020 às 11:00, Jonathan Gallimore <
jonathan.gallim...@gmail.com> escreveu:

> > I don't know where to add the JAXB dependencies to get it in the runtime,
> > any help would be appreciated.
>
> Take a look at the pom here -
> https://github.com/apache/tomee/tree/master/boms/jaxb-runtime - that might
> help.
>
> > I've tested the TomEE with Java 14 and it worked well.
> > But I know that I haven't tested enough and I probably would be more
> > confident
> > about the status if I could run the tests that exist in the build of
> TomEE.
>
> I think we have a config for buildbot that builds with Java 8 and runs the
> tests with Java 11. Let me see if we can dig that out.
>
> Thanks for looking at this and for the writeup - that's really helpful!
>
> Jon
>
> On Mon, Mar 30, 2020 at 2:38 PM Thiago Henrique Hupner <thi...@gmail.com>
> wrote:
>
> > Hello!
> >
> > I've tested the TomEE with Java 14 and it worked well.
> > But I know that I haven't tested enough and I probably would be more
> > confident
> > about the status if I could run the tests that exist in the build of
> TomEE.
> >
> > I have started building with Java 14 and I'd like to point things that
> > happened:
> >
> > * I have to include both JBoss RMI API / JacORB dependencies;
> > * I think the agent isn't working. I get a lot of
> > "java.lang.IllegalStateException: Unable to initialize agent"
> > * I stuck in the integration test of TomEE:
> >    [INFO] --- maven-failsafe-plugin:2.20:integration-test (default) @
> > apache-tomee ---
> >    [WARNING] Error injecting:
> > org.apache.maven.plugin.failsafe.IntegrationTestMojo
> >    java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
> >
> > I don't know where to add the JAXB dependencies to get it in the runtime,
> > any help would be appreciated.
> >
> > Thank you
> >
> >
> > Em sex., 27 de mar. de 2020 às 13:49, Jonathan Gallimore <
> > jonathan.gallim...@gmail.com> escreveu:
> >
> > > Hi Thiago!
> > >
> > > Welcome, and thanks for introducing yourself. Work on Java 14 support
> > would
> > > be fantastic. Some initial steps I'd suggest are:
> > >
> > > * Try running a current build on Java 14, and report issues you run
> into
> > > here.
> > > * TomEE and a number of is components (OpenJPA, OpenWebBeans) use
> > > xbean-asm, which may require an update:
> > > https://github.com/apache/geronimo-xbean, so you may need to provide
> > > patches to OpenJPA and OWB as well as TomEE.
> > >
> > > Getting TomEE to build with JDK14 will likely be more difficult, but by
> > > all means give it a shot. I'd be inclined to get a view on the current
> > > runtime status first. Please do feel welcome to ask questions and chat
> on
> > > the list.
> > >
> > > Cheers!
> > >
> > > Jon
> > >
> > > On Fri, Mar 27, 2020 at 2:48 PM Thiago Henrique Hupner <
> thi...@gmail.com
> > >
> > > wrote:
> > >
> > > > Hello!
> > > >
> > > > I'm Thiago and I'd like to contribute with TomEE.
> > > > I'm from Brazil and I'd like to help with the Java 14 support.
> > > >
> > > > Yours sincerely,
> > > > Thiago
> > > >
> > >
> >
>

Reply via email to