felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@gmail.com>
Subject Re: trunk still does not build
Date Thu, 25 Mar 2010 10:35:17 GMT
Btw, what command do you use the build the whole trunk ?

On Thu, Mar 25, 2010 at 11:18, Pierre De Rop <pierre.derop@gmail.com> wrote:

> Hello Guillaume;
>
> Just to confirm what Sahoo said: I also can't build the trunk, and get the
> same error: java.lang.NoClassDefFoundError:
> org/apache/felix/bundlerepository/Requirement ...
>
> (I am using maven 2.2.1)
> /pierre
>
>
> On Thu, Mar 25, 2010 at 9:18 AM, Guillaume Nodet <gnodet@gmail.com> wrote:
>
> > I don't see this error.
> > Which version of maven do you use ? I use 2.2.0 and it seems to work for
> > me.
> >
> > On Thu, Mar 25, 2010 at 07:18, Sahoo <Sahoo@sun.com> wrote:
> >
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [INFO] Building Apache Felix UPnP Extra
> > >    [exec] [INFO]    task-segment: [clean, install]
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [INFO] [clean:clean {execution: default-clean}]
> > >    [exec] [INFO] Deleting directory
> > > /space/ss141213/WS/felix/trunk/upnp/extra/target
> > >    [exec] [INFO] [resources:resources {execution: default-resources}]
> > >    [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > >    [exec] [INFO] skip non existing resourceDirectory
> > > /space/ss141213/WS/felix/trunk/upnp/extra/src/main/resources
> > >    [exec] [INFO] Copying 2 resources to META-INF
> > >    [exec] [INFO] [compiler:compile {execution: default-compile}]
> > >    [exec] [INFO] Compiling 3 source files to
> > > /space/ss141213/WS/felix/trunk/upnp/extra/target/classes
> > >    [exec] [INFO] [resources:testResources {execution:
> > > default-testResources}]
> > >    [exec] [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > >    [exec] [INFO] skip non existing resourceDirectory
> > > /space/ss141213/WS/felix/trunk/upnp/extra/src/test/resources
> > >    [exec] [INFO] [compiler:testCompile {execution:
> default-testCompile}]
> > >    [exec] [INFO] No sources to compile
> > >    [exec] [INFO] [surefire:test {execution: default-test}]
> > >    [exec] [INFO] No tests to run.
> > >    [exec] [INFO] [bundle:bundle {execution: default-bundle}]
> > >    [exec] [WARNING] Warning building bundle
> > > org.apache.felix:org.apache.felix.upnp.extra:bundle:0.5.0-SNAPSHOT :
> > > Instructions in Private-Package, or -testpackages that are never used:
> > > org\.apache\.xerces\.impl\.dv\.util
> > >    [exec] [INFO] [install:install {execution: default-install}]
> > >    [exec] [INFO] Installing
> > >
> >
> /space/ss141213/WS/felix/trunk/upnp/extra/target/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > > to
> > >
> >
> /home/ss141213/.m2/repository/org/apache/felix/org.apache.felix.upnp.extra/0.5.0-SNAPSHOT/org.apache.felix.upnp.extra-0.5.0-SNAPSHOT.jar
> > >    [exec] [INFO] [bundle:install {execution: default-install}]
> > >    [exec] [FATAL ERROR] org.apache.felix.obrplugin.ObrInstall#execute()
> > > caused a linkage error (java.lang.NoClassDefFoundError) and may be
> > > out-of-date. Check the realms:
> > >    [exec] [FATAL ERROR] Plugin realm =
> > >
> app0.child-container[org.apache.felix:maven-bundle-plugin:2.1.0-SNAPSHOT]
> > >    [exec] urls[0] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/maven-bundle-plugin/2.1.0-SNAPSHOT/maven-bundle-plugin-2.1.0-SNAPSHOT.jar
> > >    [exec] urls[1] =
> > >
> >
> file:/home/ss141213/.m2/repository/biz/aQute/bndlib/0.0.357/bndlib-0.0.357.jar
> > >    [exec] urls[2] =
> > >
> >
> file:/home/ss141213/.m2/repository/net/sf/kxml/kxml2/2.2.2/kxml2-2.2.2.jar
> > >    [exec] urls[3] = file:/home/ss141213/.m2/repository/xmlpull/xmlpull/
> > > 1.1.3.1/xmlpull-1.1.3.1.jar
> > >    [exec] urls[4] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.apache.felix.bundlerepository/1.5.0-SNAPSHOT/org.apache.felix.bundlerepository-1.5.0-SNAPSHOT.jar
> > >    [exec] urls[5] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/osgi/org.osgi.core/4.1.0/org.osgi.core-4.1.0.jar
> > >    [exec] urls[6] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/easymock/easymock/2.4/easymock-2.4.jar
> > >    [exec] urls[7] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.osgi.core/1.0.0/org.osgi.core-1.0.0.jar
> > >    [exec] urls[8] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/felix/org.osgi.service.obr/1.0.1/org.osgi.service.obr-1.0.1.jar
> > >    [exec] urls[9] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/codehaus/plexus/plexus-utils/1.4.7/plexus-utils-1.4.7.jar
> > >    [exec] urls[10] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
> > >    [exec] urls[11] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> > >    [exec] urls[12] =
> > >
> >
> file:/home/ss141213/.m2/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
> > >    [exec] [FATAL ERROR] Container realm = plexus.core
> > >    [exec] urls[0] =
> > >
> file:/space/ss141213/software/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [ERROR] FATAL ERROR
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [INFO] org/apache/felix/bundlerepository/Requirement
> > >    [exec] org.apache.felix.bundlerepository.Requirement
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [INFO] Trace
> > >    [exec] java.lang.NoClassDefFoundError:
> > > org/apache/felix/bundlerepository/Requirement
> > >    [exec]     at
> > > org.apache.felix.obrplugin.ObrInstall.execute(ObrInstall.java:139)
> > >    [exec]     at
> > >
> >
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> > >    [exec]     at
> > >
> >
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> > >    [exec]     at
> > > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> > >    [exec]     at
> > > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > >    [exec]     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > >    [exec]     at
> > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> > >    [exec]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > > Method)
> > >    [exec]     at
> > >
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> > >    [exec]     at
> > >
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > >    [exec]     at java.lang.reflect.Method.invoke(Method.java:597)
> > >    [exec]     at
> > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> > >    [exec]     at
> > > org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> > >    [exec]     at
> > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> > >    [exec]     at
> > org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> > >    [exec] Caused by: java.lang.ClassNotFoundException:
> > > org.apache.felix.bundlerepository.Requirement
> > >    [exec]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > >    [exec]     at java.security.AccessController.doPrivileged(Native
> > Method)
> > >    [exec]     at
> > java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > >    [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > >    [exec]     at
> > >
> >
> org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
> > >    [exec]     at
> > >
> >
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
> > >    [exec]     at
> > >
> >
> org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
> > >    [exec]     at
> > >
> >
> org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
> > >    [exec]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> > >    [exec]     at
> > > java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> > >    [exec]     ... 20 more
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >    [exec] [INFO] Total time: 4 minutes 13 seconds
> > >    [exec] [INFO] Finished at: Wed Mar 24 22:13:56 PST 2010
> > >    [exec] [INFO] Final Memory: 94M/141M
> > >    [exec] [INFO]
> > >
> ------------------------------------------------------------------------
> > >
> > > BUILD FAILED
> > > /space/ss141213/WS/felix/trunk/build.xml:71: exec returned: 1
> > >
> > > I am at svn rev#927284. One may ask why I am building everything in
> > trunk,
> > > well I typically build everything at the top level, because I hate to
> > build
> > > each module separately when I have to build four or five modules. In
> any
> > > case, there is no justification for build failures.
> > >
> > > Thanks,
> > > Sahoo
> > >
> >
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Blog: http://gnodet.blogspot.com/
> > ------------------------
> > Open Source SOA
> > http://fusesource.com
> >
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message