falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vijayakumar Ramdoss <nellaivi...@live.com>
Subject RE: failed: A required class was missing while executing org.mortbay.jetty:maven-jetty-plugin:6.1.26:run: org/mortbay/util/Attributes
Date Thu, 27 Feb 2014 01:47:59 GMT
Hi Srikanth,
Thanks for your help, I have attached the log file here, Please review and let me know.
https://onedrive.live.com/redir?resid=BAB25DA19231794A!1782&authkey=!ALnerkhGzhw3Ukw&ithint=file%2c.gz

Thanks
Vijay



> From: sriksun@hotmail.com
> To: dev@falcon.incubator.apache.org
> Subject: RE: failed: A required class was missing while executing org.mortbay.jetty:maven-jetty-plugin:6.1.26:run:
org/mortbay/util/Attributes
> Date: Wed, 26 Feb 2014 14:44:29 +0530
> 
> Hi,    From the logs it is unclear why are you running into this error. Looks like there
is a conflicting jetty in the dependency. Are you using any specific version of hadoop / oozie
overriding the defaults ? Can you provide the full (mvn -X clean verify, with required Xmx
& PermSize) output for further debugging ? I am particularly interested in seeing the
classPathElements  & testClassPathElements in the webapps module during integration tests.
> RegardsSrikanth Sundarrajan
> 
> > From: nellaivijay@live.com
> > To: dev@falcon.incubator.apache.org
> > Subject: failed: A required class was missing while executing org.mortbay.jetty:maven-jetty-plugin:6.1.26:run:
org/mortbay/util/Attributes
> > Date: Wed, 26 Feb 2014 03:32:17 -0500
> > 
> > All,
> > 
> > While building the falcon, it was failed with this error message (failed: A
> > required class was missing while executing
> > org.mortbay.jetty:maven-jetty-plugin:6.1.26:run: org/mortbay/util/Attributes
> > 
> > ). 
> > 
> > How can we proceed further?
> > 
> >  
> > 
> >  
> > 
> > Please refer the detailed error message here,
> > 
> >  
> > 
> >  
> > 
> > Downloaded:
> > http://repo.maven.apache.org/maven2/org/eclipse/jdt/core/compiler/ecj/3.5.1/
> > ecj-3.5.1.jar (1636 KB at 1282.7 KB/sec)
> > 
> > [WARNING] Error injecting: org.mortbay.jetty.plugin.Jetty6RunMojo
> > 
> > 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
> > ssRealm.java:259)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 42)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 27)
> > 
> >                 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
> > ssRealm.java:259)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 42)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 27)
> > 
> >                 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
> > ssRealm.java:259)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 42)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 27)
> > 
> >                 at java.lang.Class.getDeclaredConstructors0(Native Method)
> > 
> >                 at
> > java.lang.Class.privateGetDeclaredConstructors(Class.java:2496)
> > 
> >                 at java.lang.Class.getDeclaredConstructors(Class.java:1901)
> > 
> >                 at
> > com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:24
> > 5)
> > 
> >                 at
> > com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingI
> > mpl.java:99)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorI
> > mpl.java:653)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl
> > .java:863)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(Inj
> > ectorImpl.java:790)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.ja
> > va:278)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:
> > 210)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java
> > :986)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1019)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:982)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)
> > 
> >                 at
> > org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:
> > 48)
> > 
> >                 at
> > com.google.inject.internal.ProviderInternalFactory.provision(ProviderInterna
> > lFactory.java:86)
> > 
> >                 at
> > com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(I
> > nternalFactoryToInitializableAdapter.java:55)
> > 
> >                 at
> > com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFa
> > ctory.java:70)
> > 
> >                 at
> > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provisio
> > n(ProvisionListenerStackCallback.java:100)
> > 
> >                 at
> > org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleMa
> > nager.java:133)
> > 
> >                 at
> > com.google.inject.internal.ProvisionListenerStackCallback$Provision.provisio
> > n(ProvisionListenerStackCallback.java:109)
> > 
> >                 at
> > com.google.inject.internal.ProvisionListenerStackCallback.provision(Provisio
> > nListenerStackCallback.java:55)
> > 
> >                 at
> > com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInter
> > nalFactory.java:68)
> > 
> >                 at
> > com.google.inject.internal.InternalFactoryToInitializableAdapter.get(Interna
> > lFactoryToInitializableAdapter.java:47)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047
> > )
> > 
> >                 at
> > com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)
> > 
> >                 at com.google.inject.Scopes$1$1.get(Scopes.java:59)
> > 
> >                 at
> > org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
> > 
> >                 at
> > org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
> > 
> >                 at
> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav
> > a:260)
> > 
> >                 at
> > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.jav
> > a:252)
> > 
> >                 at
> > org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo
> > (DefaultMavenPluginManager.java:459)
> > 
> >                 at
> > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPl
> > uginManager.java:97)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:2
> > 08)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1
> > 53)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:1
> > 45)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
> > cycleModuleBuilder.java:84)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Life
> > cycleModuleBuilder.java:59)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Lif
> > ecycleStarter.java:183)
> > 
> >                 at
> > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarte
> > r.java:161)
> > 
> >                 at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
> > 
> >                 at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> > 
> >                 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> > 
> >                 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> > 
> >                 at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> > 
> >                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > 
> >                 at
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
> > )
> > 
> >                 at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
> > .java:43)
> > 
> >                 at java.lang.reflect.Method.invoke(Method.java:622)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.ja
> > va:289)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.
> > java:415)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> > 
> > Caused by: java.lang.ClassNotFoundException: org.mortbay.util.Attributes
> > 
> >                 at
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFir
> > stStrategy.java:50)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(Cla
> > ssRealm.java:259)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 42)
> > 
> >                 at
> > org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:2
> > 27)
> > 
> >                 ... 93 more
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > [INFO] Reactor Summary:
> > 
> > [INFO] 
> > 
> > [INFO] Checkstyle ........................................ SUCCESS [1.963s]
> > 
> > [INFO] Apache Falcon ..................................... SUCCESS [3.283s]
> > 
> > [INFO] Build Tools ....................................... SUCCESS
> > [2:46.078s]
> > 
> > [INFO] Apache Falcon CLI client .......................... SUCCESS [9.480s]
> > 
> > [INFO] Apache Falcon Metrics ............................. SUCCESS [1.223s]
> > 
> > [INFO] Apache Falcon Hadoop Dependencies ................. SUCCESS [3.351s]
> > 
> > [INFO] Apache Falcon Test Utility ........................ SUCCESS [2.714s]
> > 
> > [INFO] Apache Falcon Commons ............................. SUCCESS [53.613s]
> > 
> > [INFO] Apache Falcon Oozie EL Extension .................. SUCCESS [5.410s]
> > 
> > [INFO] Apache Falcon Embedded Hadoop - Test Cluster ...... SUCCESS [17.049s]
> > 
> > [INFO] Apache Falcon Messaging ........................... SUCCESS [13.359s]
> > 
> > [INFO] Apache Falcon Oozie Adaptor ....................... SUCCESS [15.773s]
> > 
> > [INFO] Apache Falcon Feed ................................ SUCCESS [9.128s]
> > 
> > [INFO] Apache Falcon Process ............................. SUCCESS [12.523s]
> > 
> > [INFO] Apache Falcon Acquisition ......................... SUCCESS [0.334s]
> > 
> > [INFO] Apache Falcon Replication ......................... SUCCESS [7.796s]
> > 
> > [INFO] Apache Falcon Retention ........................... SUCCESS [8.672s]
> > 
> > [INFO] Apache Falcon Archival ............................ SUCCESS [0.324s]
> > 
> > [INFO] Apache Falcon Rerun ............................... SUCCESS [10.746s]
> > 
> > [INFO] Apache Falcon Prism ............................... SUCCESS [27.594s]
> > 
> > [INFO] Apache Falcon Web Application ..................... FAILURE [21.176s]
> > 
> > [INFO] Apache Falcon Documentation ....................... SKIPPED
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > [INFO] BUILD FAILURE
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > [INFO] Total time: 6:32.387s
> > 
> > [INFO] Finished at: Wed Feb 26 03:25:37 GMT-05:00 2014
> > 
> > [INFO] Final Memory: 363M/676M
> > 
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > [ERROR] Failed to execute goal
> > org.mortbay.jetty:maven-jetty-plugin:6.1.26:run (start-jetty) on project
> > falcon-webapp: Execution start-jetty of goal
> > org.mortbay.jetty:maven-jetty-plugin:6.1.26:run failed: A required class was
> > missing while executing org.mortbay.jetty:maven-jetty-plugin:6.1.26:run:
> > org/mortbay/util/Attributes
> > 
> > [ERROR] -----------------------------------------------------
> > 
> > [ERROR] realm =    plugin>org.mortbay.jetty:maven-jetty-plugin:6.1.26
> > 
> > [ERROR] strategy =
> > org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> > 
> > [ERROR] urls[0] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/maven-jetty-plugin/6.1.26/
> > maven-jetty-plugin-6.1.26.jar
> > 
> > [ERROR] urls[1] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.
> > jar
> > 
> > [ERROR] urls[2] =
> > file:/home/admin/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-
> > utils-1.1.jar
> > 
> > [ERROR] urls[3] =
> > file:/home/admin/.m2/repository/junit/junit/3.8.2/junit-3.8.2.jar
> > 
> > [ERROR] urls[4] =
> > file:/home/admin/.m2/repository/org/apache/maven/maven-plugin-tools-api/2.0/
> > maven-plugin-tools-api-2.0.jar
> > 
> > [ERROR] urls[5] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jetty-plus/6.1.26/jetty-pl
> > us-6.1.26.jar
> > 
> > [ERROR] urls[6] =
> > file:/home/admin/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0.1B-rc4/g
> > eronimo-spec-jta-1.0.1B-rc4.jar
> > 
> > [ERROR] urls[7] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jetty-naming/6.1.26/jetty-
> > naming-6.1.26.jar
> > 
> > [ERROR] urls[8] =
> > file:/home/admin/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
> > 
> > [ERROR] urls[9] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jetty-management/6.1.26/je
> > tty-management-6.1.26.jar
> > 
> > [ERROR] urls[10] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jsp-2.1-jetty/6.1.26/jsp-2
> > .1-jetty-6.1.26.jar
> > 
> > [ERROR] urls[11] =
> > file:/home/admin/.m2/repository/org/eclipse/jdt/core/3.1.1/core-3.1.1.jar
> > 
> > [ERROR] urls[12] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jsp-api-2.1-glassfish/2.1.
> > v20091210/jsp-api-2.1-glassfish-2.1.v20091210.jar
> > 
> > [ERROR] urls[13] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jsp-2.1-glassfish/2.1.v200
> > 91210/jsp-2.1-glassfish-2.1.v20091210.jar
> > 
> > [ERROR] urls[14] =
> > file:/home/admin/.m2/repository/org/eclipse/jdt/core/compiler/ecj/3.5.1/ecj-
> > 3.5.1.jar
> > 
> > [ERROR] urls[15] =
> > file:/home/admin/.m2/repository/ant/ant/1.6.5/ant-1.6.5.jar
> > 
> > [ERROR] urls[16] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/jetty-annotations/6.1.26/j
> > etty-annotations-6.1.26.jar
> > 
> > [ERROR] urls[17] =
> > file:/home/admin/.m2/repository/org/apache/geronimo/specs/geronimo-annotatio
> > n_1.0_spec/1.0/geronimo-annotation_1.0_spec-1.0.jar
> > 
> > [ERROR] urls[18] =
> > file:/home/admin/.m2/repository/org/mortbay/jetty/start/6.1.26/start-6.1.26.
> > jar
> > 
> > [ERROR] Number of foreign imports: 1
> > 
> > [ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent:
> > null]]
> > 
> > [ERROR] 
> > 
> > [ERROR] -----------------------------------------------------:
> > org.mortbay.util.Attributes
> > 
> > [ERROR] -> [Help 1]
> > 
> > [ERROR] 
> > 
> > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> > switch.
> > 
> > [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> > 
> > [ERROR] 
> > 
> > [ERROR] For more information about the errors and possible solutions, please
> > read the following articles:
> > 
> > [ERROR] [Help 1]
> > http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException
> > 
> > [ERROR] 
> > 
> > [ERROR] After correcting the problems, you can resume the build with the
> > command
> > 
> > [ERROR]   mvn <goals> -rf :falcon-webapp
> > 
> >  
> > 
> > Thanks and Regards
> > 
> > Vijay Ram
> > 
> >  
> > 
>  		 	   		  
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message