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

Andrew Purtell commented on HBASE-22249:
----------------------------------------

[~jatsakthi] The way we commit things on the project we start with master then 
move down, so this change will be applied to master (unless you say it is not 
ready yet). Taking a dependency on javax.activation only in hbase-rest looks 
fine as a generally applicable change to all branches and that's my intent.

> HBase Rest Server throws NoClassDefFoundError with JAVA 11 (run-time)
> ---------------------------------------------------------------------
>
>                 Key: HBASE-22249
>                 URL: https://issues.apache.org/jira/browse/HBASE-22249
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.1.5
>            Reporter: Sakthi
>            Assignee: Sakthi
>            Priority: Major
>              Labels: jdk11
>         Attachments: hbase-22249.branch-2.1.001.patch
>
>
> While starting the rest server multiple instances of the following error can 
> be seen:
> {code:java}
> java.lang.NoClassDefFoundError: javax/activation/DataSource
> {code}
> After start-up of the server, while serving requests, following errors can be 
> seen:
> {code:java}
> Caused by: A MultiException has 3 exceptions.  They are:
> 1. java.lang.NoClassDefFoundError: Could not initialize class 
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl
> 2. java.lang.IllegalStateException: Unable to perform operation: create on 
> org.apache.hadoop.hbase.rest.provider.JAXBContextResolver
> 3. java.lang.IllegalStateException: Unable to perform operation: create on 
> org.glassfish.jersey.internal.ContextResolverFactory
> {code}
> And the requests failed like this:
> {code:java}
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
> <title>Error 500 </title>
> </head>
> <body>
> <h2>HTTP ERROR: 500</h2>
> <p>Problem accessing /. Reason:
> <pre>    Request failed.</pre></p>
> <hr />
> </body>
> </html>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to