You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Rémy SAISSY (JIRA)" <ji...@apache.org> on 2015/09/27 00:35:04 UTC

[jira] [Created] (ATLAS-193) hive-bridge ITs fail because of TestGuiceServletConfig class not found

Rémy SAISSY created ATLAS-193:
---------------------------------

             Summary: 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


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
(v6.3.4#6332)