Which version of the server did you build?  jasper-6.0.16-G652117 is only available in branches/2.1 [1] and trunk (2.2-SNAPSHOT) [2].  If you checkout and build either of these versions, the jar will be installed into your m2 repo automatically.  Alternatively, you can get the jar here: http://svn.apache.org/repos/asf/geronimo/server/trunk/repository/org/apache/tomcat/jasper/6.0.16-G652117/ and install it into the m2 repo yourself. 

[1] http://svn.apache.org/repos/asf/geronimo/server/branches/2.1/
[2] http://svn.apache.org/repos/asf/geronimo/server/trunk/

On Tue, Jun 10, 2008 at 1:22 PM, Shrey Banga <banga.shrey@gmail.com> wrote:
I'm sorry I did not mention I already built the entire trunk first, which was successful.
I used the command mvn eclipse:eclipse to create eclipse projects, without the -o as it reported missing artefacts when done offline.
Next, I opened the plancreator-portlets project in eclipse, modified it and tried to build it but it failed with the given error.

"...Missing dependency: org.apache.tomcat/jasper/6.0.16-G652117/jar..."
My m2repo has 6.0.14-G614585 and 6.0.13-G543818 in the jasper directory. Should I manually download the mentioned jar ? If so, from where?


On Tue, Jun 10, 2008 at 7:04 PM, Lin Sun <linsun.unc@gmail.com> wrote:
Hmm I don't know if you can build plancreator like this, without
building the entire AG trunk first.   You could try building the
entire AG trunk first
(http://cwiki.apache.org/GMOxDEV/building-apache-geronimo.html), which
should build the plancreator.

Lin

On Tue, Jun 10, 2008 at 6:42 AM, Shrey Banga <banga.shrey@gmail.com> wrote:
> Hi
>
> I'm trying to build the plancreator with
> trunk\plugins\plancreator> mvn
>
> but it fails with the following error:
>
> [ERROR] Error while starting; GBean is now in the FAILED state:
> abstractName="or
> g.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car?configurationName=org.apache.g
> eronimo.configs/jasper/2.2-SNAPSHOT/car"
> org.apache.geronimo.kernel.repository.MissingDependencyException: Missing
> depend
> ency: org.apache.tomcat/jasper/6.0.16-G652117/jar
>
> org.apache.geronimo.kernel.config.ConfigurationResolver.resolve(Configuratio
> nResolver.java:113)
>
> org.apache.geronimo.kernel.config.Configuration.buildClassPath(Configuration
> .java:406)
>
> org.apache.geronimo.kernel.config.Configuration.createConfigurationClasssLoa
> der(Configuration.java:323)
>
> org.apache.geronimo.kernel.config.Configuration.<init>(Configuration.java:26
> 8)
>     sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAcces
> sorImpl.java:39)
>
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstruc
> torAccessorImpl.java:27)
>     java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>
> org.apache.xbean.recipe.ObjectRecipe.createInstance(ObjectRecipe.java:390)
>     org.apache.xbean.recipe.ObjectRecipe.create(ObjectRecipe.java:194)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance
> .java:910)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanI
> nstanceState.java:269)
>
> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceStat
> e.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(KernelConf
> igurationManager.java:162)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurati
> on(SimpleConfigurationManager.java:312)
>
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfigurati
> on(SimpleConfigurationManager.java:280)
>     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(ReflectionM
> ethodInvoker.java:34)
>
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:
> 124)
>
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:81
> 5)
>     org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
>
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvo
> ker.java:35)
>
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMetho
> dInterceptor.java:96)
>
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGLIB$$d41
> 801cf.loadConfiguration(<generated>)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(PackageMojo.ja
> va:282)
>
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.java:20
> 2)
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManage
> r.java:451)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLife
> cycleExecutor.java:558)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:499)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifec
> ycleExecutor.java:478)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFail
> ures(DefaultLifecycleExecutor.java:330)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Defa
> ultLifecycleExecutor.java:291)
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycle
> Executor.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] Could not load deployer configuration:
> org.apache.geronimo.configs/tomca
> t6-deployer/2.2-SNAPSHOT/car
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/webservices-common/2.2-SNAPSHOT/car: ADD
> org.apache.geronimo.configs/webservices-common/2.2-SNAPSHOT/car: READING
> org.apache.geronimo.configs/webservices-common/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/webservices-common/2.2-SNAPSHOT/car: RESOLVING
> org.apache.geronimo.configs/webservices-common/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: LOADING
> org.apache.geronimo.configs/transaction/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: LOADING
> org.apache.geronimo.configs/connector-deployer/2.2-SNAPSHOT/car: SUCCEEDED
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: LOADING
> org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car: FAILED: Error starting
> conf
> iguration gbean org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car
> FINISHED
>
> org.apache.geronimo.kernel.config.LifecycleException: load of
> org.apache.geronim
> o.configs/tomcat6-deployer/2.2-SNAPSHOT/car failed
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:327)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:280)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at
> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>         at
> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.java:124)
>         at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.
> java:815)
>         at
> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:5
> 7)
>         at
> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperat
> ionInvoker.java:35)
>         at
> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(Pro
> xyMethodInterceptor.java:96)
>         at
> org.apache.geronimo.kernel.config.ConfigurationManager$$EnhancerByCGL
> IB$$d41801cf.loadConfiguration(<generated>)
>         at
> org.apache.geronimo.mavenplugins.car.PackageMojo.buildPackage(Package
> Mojo.java:282)
>         at
> org.apache.geronimo.mavenplugins.car.PackageMojo.execute(PackageMojo.
> java:202)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
> nManager.java:451)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
> ultLifecycleExecutor.java:558)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
> fecycle(DefaultLifecycleExecutor.java:499)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
> ltLifecycleExecutor.java:478)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
> dleFailures(DefaultLifecycleExecutor.java:330)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
> ts(DefaultLifecycleExecutor.java:291)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
> fecycleExecutor.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(DelegatingMethodAcces
> sorImpl.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)
> Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Error
> start
> ing configuration gbean org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Ker
> nelConfigurationManager.java:182)
>         at
> org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:312)
>         ... 32 more
> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
> Configuratio
> n gbean failed to start org.apache.geronimo.configs/jasper/2.2-SNAPSHOT/car
> reason: Missing dependency: org.apache.tomcat/jasper/6.0.16-G652117/jar
>         at
> org.apache.geronimo.kernel.config.KernelConfigurationManager.load(Ker
> nelConfigurationManager.java:165)
>         ... 33 more
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] could not package plugin
>
> Embedded error:
> org.apache.geronimo.configs/tomcat6-deployer/2.2-SNAPSHOT/car
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 6 minutes 28 seconds
> [INFO] Finished at: Tue Jun 10 15:21:21 IST 2008
> [INFO] Final Memory: 67M/129M
> [INFO]
> ------------------------------------------------------------------------
>
> --
> Shrey Banga
> Bachelor of Technology, III year
> Department of Electrical Engineering
> Indian Institute of Technology Roorkee
>
>
> --
> Shrey Banga
> Bachelor of Technology, III year
> Department of Electrical Engineering
> Indian Institute of Technology Roorkee



--
Shrey Banga
Bachelor of Technology, III year
Department of Electrical Engineering
Indian Institute of Technology Roorkee



--
~Jason Warner