Sakthi created HBASE-22249:
------------------------------
Summary: 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
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)