ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zsombor Gegesy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (RANGER-1905) NoClassDefFoundError from the built zip/tar.gz, created by the maven-assembly-plugin
Date Wed, 22 Nov 2017 12:31:01 GMT

     [ https://issues.apache.org/jira/browse/RANGER-1905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Zsombor Gegesy updated RANGER-1905:
-----------------------------------
    Attachment: RANGER-1905-2.patch

> 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
>         Attachments: RANGER-1905-2.patch, RANGER-1905.patch
>
>
> 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)

Mime
View raw message