You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Madhan Neethiraj (Jira)" <ji...@apache.org> on 2020/02/29 23:23:00 UTC
[jira] [Resolved] (ATLAS-193) hive-bridge ITs fail because of
TestGuiceServletConfig class not found
[ https://issues.apache.org/jira/browse/ATLAS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Madhan Neethiraj resolved ATLAS-193.
------------------------------------
Resolution: Cannot Reproduce
> hive-bridge ITs fail because of TestGuiceServletConfig class not found
> ----------------------------------------------------------------------
>
> Key: ATLAS-193
> URL: https://issues.apache.org/jira/browse/ATLAS-193
> Project: Atlas
> Issue Type: Bug
> Affects Versions: 0.6-incubating
> Reporter: Rémy Saissy
> Priority: Major
>
> hive-bridge ITs fails and return 404 because the listener used in the web.xml of the hive-bridge POM is not part of the atlas-webapp WAR.
> {code:xml}
> <listener>
> <listener-class>org.apache.atlas.web.listeners.TestGuiceServletConfig</listener-class>
> </listener>
> {code:xml}
> The command to reproduce it is an _mvn integration-test_.
> It leads to the following stacktrace:
> [INFO] --- jetty-maven-plugin:9.2.12.v20150709:deploy-war (start-jetty) @ hive-bridge ---
> [INFO] Logging initialized @11484ms
> [INFO] Configuring Jetty for project: Apache Atlas Hive Bridge
> [INFO] Context path = /
> [INFO] Tmp directory = /Users/remy/Projects/incubator-atlas/addons/hive-bridge/target/tmp
> [INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
> [INFO] Web overrides = none
> [INFO] jetty-9.2.12.v20150709
> [WARNING] Could not instantiate listener org.apache.atlas.web.listeners.TestGuiceServletConfig
> java.lang.ClassNotFoundException: org.apache.atlas.web.listeners.TestGuiceServletConfig
> at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
> at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> at org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:450)
> [...]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)