[
https://issues.apache.org/jira/browse/FALCON-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13917550#comment-13917550
]
Shaik Idris Ali commented on FALCON-328:
----------------------------------------
Hi,
I found this while analysing the debug log and compared same with logs on my
box.
1. Before jetty start, below jars must be included which are missing from the
logs which you shared, however all other included jars seems to be ok.
org.mortbay.jetty:jetty-util:jar:6.1.26
org.mortbay.jetty:servlet-api:jar:2.5-2
2. can you try running mvn verify/install with -U option ?
3. Also, mvn dependency:tree suggests:
[INFO] +- org.mortbay.jetty:jetty:jar:6.1.26:compile
[INFO] | +- org.mortbay.jetty:jetty-util:jar:6.1.26:compile
[INFO] | \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:compile
you can also try, including jetty-util and servlet-api as explicit dependency
in webapp/pom.xml, as a quick and dirty try.
> failed: A required class was missing while executing
> org.mortbay.jetty:maven-jetty-plugin:6.1.26:run: org/mortbay/util/Attributes
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: FALCON-328
> URL: https://issues.apache.org/jira/browse/FALCON-328
> Project: Falcon
> Issue Type: Bug
> Components: webapp
> Environment: Cent OS - Linux localhost.localdomain
> 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 12 00:41:43 UTC 2014 x86_64 x86_64
> x86_64 GNU/Linux
> [admin@localhost ~]$ mvn -v
> Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19
> 08:51:28-0500)
> Maven home: /opt/maven
> Java version: 1.6.0_30, vendor: Sun Microsystems Inc.
> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "2.6.32-431.5.1.el6.x86_64", arch: "amd64",
> family: "unix"
> [admin@localhost ~]$
> Reporter: Vijayakumar Ramdoss
> Priority: Trivial
> Labels: build
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> While building the Falcon from my CentOS system, its throwing the error
> message as like this,
> java.lang.NoClassDefFoundError: org/mortbay/util/Attributes
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at
> java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
> at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassReal
> m.java:389)
> at
> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFir
> stStrategy.java:42)
> at
> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(Cla s
> Please refer the detailed error message from here,
> https://onedrive.live.com/redir?resid=BAB25DA19231794A!1782&authkey=!ALnerkhGzhw3Ukw&ithint=file%2c.gz
--
This message was sent by Atlassian JIRA
(v6.2#6252)