Zsombor Gegesy created RANGER-1905:
--------------------------------------

             Summary: NoClassDefFoundError from the built zip/tar.gz, created 
by the maven-assembly-plugin
                 Key: RANGER-1905
                 URL: https://issues.apache.org/jira/browse/RANGER-1905
             Project: Ranger
          Issue Type: Bug
          Components: admin
            Reporter: Zsombor Gegesy
            Assignee: Zsombor Gegesy
            Priority: Blocker


It seems, because of the recent guava exclusions, the maven-assembly plugin 
fails to include guava-17.0.jar in ews/lib. It only puts into 
ews/webapp/WEB-INF/lib and cred/lib/guava-17.0.jar. Unfortunately this blocks 
starting up the server, because of the following exception:

{code}
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/google/common/base/Preconditions
        at 
org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:336)
        at 
org.apache.hadoop.conf.Configuration$DeprecationDelta.<init>(Configuration.java:349)
        at org.apache.hadoop.conf.Configuration.<clinit>(Configuration.java:431)
        at 
org.apache.ranger.server.tomcat.EmbeddedServer.getDecryptedString(EmbeddedServer.java:480)
        at 
org.apache.ranger.server.tomcat.EmbeddedServer.start(EmbeddedServer.java:142)
        at 
org.apache.ranger.server.tomcat.EmbeddedServer.main(EmbeddedServer.java:76)
Caused by: java.lang.ClassNotFoundException: 
com.google.common.base.Preconditions
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to