johnzon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Dzaebel (Jira)" <j...@apache.org>
Subject [jira] [Commented] (JOHNZON-291) Java 11 support: JAX-RS not compilable
Date Sun, 27 Oct 2019 17:23:00 GMT

    [ https://issues.apache.org/jira/browse/JOHNZON-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16960646#comment-16960646
] 

Marc Dzaebel commented on JOHNZON-291:
--------------------------------------

Third option is, to warn about it at start of build and to reference may be to this issue
or to the relevant documentation. However, for me, this has quite priority.

> Java 11 support: JAX-RS not compilable
> --------------------------------------
>
>                 Key: JOHNZON-291
>                 URL: https://issues.apache.org/jira/browse/JOHNZON-291
>             Project: Johnzon
>          Issue Type: Wish
>          Components: JAX-RS
>    Affects Versions: 1.2.1
>         Environment: JDK 11 on Win8.1/Eclipse.
>            Reporter: Marc Dzaebel
>            Priority: Minor
>
> Checked out complete johnzon today, but was not able to build other modules than _core_
and _mapper._
> [INFO] Running org.apache.johnzon.jaxrs.ConfigurableJohnzonProviderTest
> [ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.682 s <<<
FAILURE! - in org.apache.johnzon.jaxrs.ConfigurableJohnzonProviderTest
> [ERROR] org.apache.johnzon.jaxrs.ConfigurableJohnzonProviderTest Time elapsed: 0.682
s <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
>  at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.createResourceInfo(JAXRSServiceFactoryBean.java:203)
>  at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:166)
>  at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClasses(JAXRSServiceFactoryBean.java:212)
>  at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setResourceClasses(JAXRSServerFactoryBean.java:299)
>  at org.apache.johnzon.jaxrs.ConfigurableJohnzonProviderTest.bindEndpoint(ConfigurableJohnzonProviderTest.java:50)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>  at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>  at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
>  at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
>  at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
>  at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24)
>  at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
>  at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:365)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:273)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
>  at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:159)
>  at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:384)
>  at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:345)
>  at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:126)
>  at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:418)
> Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
>  at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
>  at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
>  at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>  ... 23 more
>  
> [INFO] Apache Johnzon ..................................... SUCCESS [ 8.651 s]
> [INFO] Johnzon :: Core .................................... SUCCESS [ 23.343 s]
> [INFO] Johnzon :: Mapper .................................. SUCCESS [ 26.557 s]
> [INFO] Johnzon :: JAX-RS .................................. FAILURE [ 3.369 s]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message