geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lin Sun" <linsun....@gmail.com>
Subject Re: Error while building Geronimo Sample Application
Date Mon, 21 Jul 2008 13:04:00 GMT
Hi, are you building trunk sample or 2.1.2 sample?

It looks like you are building trunk sample, as I saw reference to
2.2-snapshot in your trace.

If you are building trunk sample, did you install the private repo
first (see steps below)?

----------------------------------------------
svn co https://svn.apache.org/repos/asf/geronimo/server/trunk/repository/ g-repo
cd g-repo
mvn install
----------------------------------------------

If you are building 2.1.2 sample, just follow the instruction on the
wiki page to install the private repo.

HTH, Lin

On Mon, Jul 21, 2008 at 8:48 AM, Saurabh Sharma <mail.sbh@gmail.com> wrote:
> Hi All,
> While trying to build Geronimo Sample
> Applications(http://cwiki.apache.org/GMOxDOC21/sample-applications.html)
> with maven,I'm getting java.lang.NoClassDefFoundError:
> javax/ejb/Singleton.Is there some problem
> with the samples? what can I do for successful build of sample applications?
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Geronimo Samples :: jms-mdb Plugin for Jetty
> [INFO]    task-segment: [install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [enforcer:enforce {execution: default}]
> [INFO] [remote-resources:process {execution: default}]
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [car:validate-configuration]
> [INFO] [car:prepare-plan]
> [INFO] Generated:
> C:\geronimo-samples\samples\jms-mdb\jms-mdb-jetty\target\resources\META-INF\plan.xml
> [INFO] [car:package]
> [INFO] Packaging module configuration:
> C:\geronimo-samples\samples\jms-mdb\jms-mdb-jetty\target\resources\META-INF\plan.xml
> [INFO] Started deployer:
> org.apache.geronimo.framework/geronimo-gbean-deployer/2.2-SNAPSHOT/car
> [INFO] Started deployer:
> org.apache.geronimo.configs/j2ee-deployer/2.2-SNAPSHOT/car
> [INFO] Started deployer:
> org.apache.geronimo.configs/jetty6-deployer/2.2-SNAPSHOT/car
> [INFO] Started deployer:
> org.apache.geronimo.configs/jasper-deployer/2.2-SNAPSHOT/car
> [ERROR] The protocol for the JAR file's URL is not supported
> java.lang.UnsupportedOperationException: Only local file jars are supported
> jar:file:/C:/m2repo/org/apache/geronimo/configs/system-database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.car!/rar/tranql-connector-1.4.jar
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java:231)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.rebuildClassPath(UrlResourceFinder.java:188)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:142)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:127)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader$2.run(JarFileClassLoader.java:159)
>     java.security.AccessController.doPrivileged(Native Method)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.addURLs(JarFileClassLoader.java:157)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.<init>(JarFileClassLoader.java:108)
>
> org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:377)
>
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:268)
>     sun.reflect.GeneratedConstructorAccessor81.newInstance(Unknown Source)
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>     java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:882)
>
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:272)
>     org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>     org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:524)
>
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
>
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
>     sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
>     org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$86a2905d.loadConfiguration(<generated>)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:282)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [ERROR] The protocol for the JAR file's URL is not supported
> java.lang.UnsupportedOperationException: Only local file jars are supported
> jar:file:/C:/m2repo/org/apache/geronimo/configs/system-database/2.2-SNAPSHOT/system-database-2.2-SNAPSHOT.car!/rar/tranql-connector-derby-common-1.4.jar
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.cacheUrl(UrlResourceFinder.java:231)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.rebuildClassPath(UrlResourceFinder.java:188)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:142)
>
> org.apache.geronimo.kernel.classloader.UrlResourceFinder.addUrls(UrlResourceFinder.java:127)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader$2.run(JarFileClassLoader.java:159)
>     java.security.AccessController.doPrivileged(Native Method)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.addURLs(JarFileClassLoader.java:157)
>
> org.apache.geronimo.kernel.classloader.JarFileClassLoader.<init>(JarFileClassLoader.java:108)
>
> org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoader(Configuration.java:377)
>
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:268)
>     sun.reflect.GeneratedConstructorAccessor81.newInstance(Unknown Source)
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>     java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> org.apache.xbean.recipe.ReflectionUtil$ConstructorFactory.create(ReflectionUtil.java:882)
>
> org.apache.xbean.recipe.ObjectRecipe.internalCreate(ObjectRecipe.java:272)
>     org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:96)
>     org.apache.xbean.recipe.AbstractRecipe.create(AbstractRecipe.java:61)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:910)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:524)
>
> org.apache.geronimo.kernel.basic.BasicKernel.startGBean(BasicKernel.java:359)
>
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(KernelConfigurationManager.java:163)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:312)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:280)
>     sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:815)
>     org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
>
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
>
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$86a2905d.loadConfiguration(<generated>)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:282)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [INFO] Started deployer:
> org.apache.geronimo.configs/openejb-deployer/2.2-SNAPSHOT/car
> [INFO] Started deployer:
> org.apache.geronimo.configs/persistence-jpa10-deployer/2.2-SNAPSHOT/car
> [WARN]  Web application jms-mdb-war-2.2-SNAPSHOT.war does not contain a
> WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a problem,
> depending on whether you have things like resource references that need to
> be resolved.  You can also give the deployer a separate deployment plan file
> on the command line.
> 18:02:38,031 INFO  [config] Configuring Service(id=Default Stateless
> Container, type=Container, provider-id=Default Stateless Container)
> 18:02:38,046 INFO  [config] Configuring Service(id=Default Stateful
> Container, type=Container, provider-id=Default Stateful Container)
> 18:02:38,046 INFO  [config] Configuring Service(id=Default BMP Container,
> type=Container, provider-id=Default BMP Container)
> 18:02:38,046 INFO  [config] Configuring Service(id=Default CMP Container,
> type=Container, provider-id=Default CMP Container)
> 18:02:38,062 INFO  [config] Configuring Service(id=Default MDB Container,
> type=Container, provider-id=Default MDB Container)
> 18:02:38,062 INFO  [config] Configuring enterprise application:
> org.apache.geronimo.samples/jms-mdb-jetty/2.2-SNAPSHOT/car
> [ERROR] Deployment failed due to
> java.lang.NoClassDefFoundError: javax/ejb/Singleton
>
> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:341)
>
> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:232)
>
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:176)
>
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228)
>
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584)
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645)
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:578)
>
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:500)
>
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:617)
>     org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
>
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:476)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:302)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     java.lang.reflect.Method.invoke(Method.java:585)
>     org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> [FATAL ERROR] org.apache.geronimo.mavenplugins.car.PackageMojo#execute()
> caused a linkage error (java.lang.NoClassDefFoundError) and may be
> out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm =
> app0.child-container[org.apache.geronimo.buildsupport:car-maven-plugin]
> urls[0] =
> file:/C:/m2repo/org/apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugin-2.2-SNAPSHOT.jar
> urls[1] = file:/C:/m2repo/javax/xml/bind/jaxb-api/2.0/jaxb-api-2.0.jar
> urls[2] = file:/C:/m2repo/javax/activation/activation/1.1/activation-1.1.jar
> urls[3] =
> file:/C:/m2repo/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
> urls[4] =
> file:/C:/m2repo/org/apache/geronimo/specs/geronimo-stax-api_1.0_spec/1.0.1/geronimo-stax-api_1.0_spec-1.0.1.jar
> urls[5] = file:/C:/m2repo/woodstox/wstx-asl/3.2.1/wstx-asl-3.2.1.jar
> urls[6] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-common/2.2-SNAPSHOT/geronimo-common-2.2-SNAPSHOT.jar
> urls[7] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-kernel/2.2-SNAPSHOT/geronimo-kernel-2.2-SNAPSHOT.jar
> urls[8] = file:/C:/m2repo/asm/asm/2.2.3/asm-2.2.3.jar
> urls[9] = file:/C:/m2repo/asm/asm-commons/2.2.3/asm-commons-2.2.3.jar
> urls[10] = file:/C:/m2repo/asm/asm-tree/2.2.3/asm-tree-2.2.3.jar
> urls[11] = file:/C:/m2repo/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar
> urls[12] = file:/C:/m2repo/log4j/log4j/1.2.15/log4j-1.2.15.jar
> urls[13] = file:/C:/m2repo/javax/mail/mail/1.4/mail-1.4.jar
> urls[14] =
> file:/C:/m2repo/org/apache/xbean/xbean-reflect/3.4.1/xbean-reflect-3.4.1.jar
> urls[15] =
> file:/C:/m2repo/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
> urls[16] =
> file:/C:/m2repo/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar
> urls[17] = file:/C:/m2repo/xpp3/xpp3_min/1.1.4c/xpp3_min-1.1.4c.jar
> urls[18] = file:/C:/m2repo/xpp3/xpp3/1.1.4c/xpp3-1.1.4c.jar
> urls[19] = file:/C:/m2repo/org/slf4j/slf4j-api/1.5.0/slf4j-api-1.5.0.jar
> urls[20] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-system/2.2-SNAPSHOT/geronimo-system-2.2-SNAPSHOT.jar
> urls[21] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-cli/2.2-SNAPSHOT/geronimo-cli-2.2-SNAPSHOT.jar
> urls[22] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-crypto/2.2-SNAPSHOT/geronimo-crypto-2.2-SNAPSHOT.jar
> urls[23] =
> file:/C:/m2repo/commons-jexl/commons-jexl/1.1/commons-jexl-1.1.jar
> urls[24] =
> file:/C:/m2repo/org/slf4j/jcl104-over-slf4j/1.5.0/jcl104-over-slf4j-1.5.0.jar
> urls[25] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-plugin/2.2-SNAPSHOT/geronimo-plugin-2.2-SNAPSHOT.jar
> urls[26] =
> file:/C:/m2repo/org/codehaus/plexus/plexus-archiver/1.0-alpha-7/plexus-archiver-1.0-alpha-7.jar
> urls[27] =
> file:/C:/m2repo/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
> urls[28] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-service-builder/2.2-SNAPSHOT/geronimo-service-builder-2.2-SNAPSHOT.jar
> urls[29] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-deployment/2.2-SNAPSHOT/geronimo-deployment-2.2-SNAPSHOT.jar
> urls[30] =
> file:/C:/m2repo/org/apache/xmlbeans/xmlbeans/2.3.0/xmlbeans-2.3.0.jar
> urls[31] = file:/C:/m2repo/stax/stax-api/1.0.1/stax-api-1.0.1.jar
> urls[32] =
> file:/C:/m2repo/xml-resolver/xml-resolver/1.1/xml-resolver-1.1.jar
> urls[33] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-deploy-config/2.2-SNAPSHOT/geronimo-deploy-config-2.2-SNAPSHOT.jar
> urls[34] =
> file:/C:/m2repo/org/apache/geronimo/specs/geronimo-javaee-deployment_1.1MR3_spec/1.0/geronimo-javaee-deployment_1.1MR3_spec-1.0.jar
> urls[35] =
> file:/C:/m2repo/org/apache/geronimo/framework/geronimo-deploy-tool/2.2-SNAPSHOT/geronimo-deploy-tool-2.2-SNAPSHOT.jar
> urls[36] = file:/C:/m2repo/jline/jline/0.9.94/jline-0.9.94.jar
> urls[37] =
> file:/C:/m2repo/org/apache/maven/maven-archiver/2.2/maven-archiver-2.2.jar
> urls[38] =
> file:/C:/m2repo/org/apache/maven/shared/maven-dependency-tree/1.1/maven-dependency-tree-1.1.jar
> urls[39] = file:/C:/m2repo/velocity/velocity/1.4/velocity-1.4.jar
> urls[40] = file:/C:/m2repo/velocity/velocity-dep/1.4/velocity-dep-1.4.jar
> urls[41] =
> file:/C:/m2repo/org/codehaus/groovy/maven/support/slf4j-gossip/1.0-rc-2/slf4j-gossip-1.0-rc-2.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/C:/apache-maven-2.0.9/bin/../lib/maven-2.0.9-uber.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] javax/ejb/Singleton
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoClassDefFoundError: javax/ejb/Singleton
>     at
> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:341)
>     at
> org.apache.openejb.config.AnnotationDeployer$DiscoverAnnotatedBeans.deploy(AnnotationDeployer.java:232)
>     at
> org.apache.openejb.config.AnnotationDeployer.deploy(AnnotationDeployer.java:176)
>     at
> org.apache.openejb.config.ConfigurationFactory$Chain.deploy(ConfigurationFactory.java:228)
>     at
> org.apache.openejb.config.ConfigurationFactory.configureApplication(ConfigurationFactory.java:584)
>     at
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.configureApplication(EjbModuleBuilder.java:645)
>     at
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.getEjbJarInfo(EjbModuleBuilder.java:578)
>     at
> org.apache.geronimo.openejb.deployment.EjbModuleBuilder.initContext(EjbModuleBuilder.java:500)
>     at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:617)
>     at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
>     at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
>     at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
>     at
> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.invokeDeployer(PackageMojo.java:476)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.java:302)
>     at
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:202)
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:585)
>     at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>
>
> Thanks,
> Saurabh Sharma
> Computer Science Integrated Dual Degree,III yr
> IIT Roorkee,India
>
>

Mime
View raw message