[ https://issues.apache.org/jira/browse/HBASE-22264?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16823263#comment-16823263 ]
Sean Busbey commented on HBASE-22264: ------------------------------------- {quote} Is there any other way I could check Sean Busbey if we need these? or the jars in patch here ? {code} $ ls hbase-3.0.0-SNAPSHOT-client/lib/ | grep javax javax.activation-1.2.0.jar javax.el-3.0.1-b08.jar javax.inject-2.5.0-b32.jar javax.servlet-api-3.1.0.jar javax.servlet.jsp-2.3.2.jar javax.servlet.jsp-api-2.3.1.jar javax.ws.rs-api-2.0.1.jar {code} {quote} I think you'd have to work out what they're used for and/or try removing them and starting various things. A shorter version would be to look at the jdk11 migration guide and just focus on those that are modules that got moved out of the default JVM classpath. I think that's just {{javax.activation}}. > Rest Server (master branch) on jdk 11 throws NoClassDefFoundError : > javax/annotation/Priority > --------------------------------------------------------------------------------------------- > > Key: HBASE-22264 > URL: https://issues.apache.org/jira/browse/HBASE-22264 > Project: HBase > Issue Type: Bug > Reporter: Sakthi > Assignee: Sakthi > Priority: Major > Labels: jdk11 > Attachments: hbase-22264.master.001.patch, > hbase-22264.master.002.patch > > > This is in continuation with HBASE-22249. When compiled with jdk 8 and run on > jdk 11, the master branch throws the following exception during an attempt to > start the hbase rest server: > {code:java} > Exception in thread "main" java.lang.NoClassDefFoundError: > javax/annotation/Priority > at > org.glassfish.jersey.model.internal.ComponentBag.modelFor(ComponentBag.java:483) > at > org.glassfish.jersey.model.internal.ComponentBag.access$100(ComponentBag.java:89) > at > org.glassfish.jersey.model.internal.ComponentBag$5.call(ComponentBag.java:408) > at > org.glassfish.jersey.model.internal.ComponentBag$5.call(ComponentBag.java:398) > at org.glassfish.jersey.internal.Errors.process(Errors.java:315) > at org.glassfish.jersey.internal.Errors.process(Errors.java:297) > at org.glassfish.jersey.internal.Errors.process(Errors.java:228) > at > org.glassfish.jersey.model.internal.ComponentBag.registerModel(ComponentBag.java:398) > at > org.glassfish.jersey.model.internal.ComponentBag.register(ComponentBag.java:235) > at > org.glassfish.jersey.model.internal.CommonConfig.register(CommonConfig.java:420) > at > org.glassfish.jersey.server.ResourceConfig.register(ResourceConfig.java:425) > at org.apache.hadoop.hbase.rest.RESTServer.run(RESTServer.java:245) > at org.apache.hadoop.hbase.rest.RESTServer.main(RESTServer.java:421) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)