You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by sr...@accenture.com on 2008/03/24 12:59:49 UTC

i am facing this problem, am using tomcat 6 for starting the server with maven

C:\maven2example\maven2example_webapp>mvn package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building maven2example_webapp Maven Webapp
[INFO]    task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[maven2example_webapp] in
[C:\maven2example\maven2exampl
e_webapp\target\maven2example_webapp-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in[540 msecs]
[INFO] Building war:
C:\maven2example\maven2example_webapp\target\maven2example_
webapp-1.0-SNAPSHOT.war
[INFO] [cargo:start {execution: tomcat-execution}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot create configuration. There's no registered configuration
for the
parameters (container [id = [tomcat6.0], type = [installed]],
configuration type
 [standalone]). Actually there are no valid types registered for this
configurat
ion. Maybe you've made a mistake spelling it?
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Cannot create
configuration. Th
ere's no registered configuration for the parameters (container [id =
[tomcat6.0
], type = [installed]], configuration type [standalone]). Actually there
are no
valid types registered for this configuration. Maybe you've made a
mistake spell
ing it?
        at
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImple
mentation(AbstractGenericHintFactory.java:143)
        at
org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactor
y.createImplementation(AbstractIntrospectionGenericHintFactory.java:86)
        at
org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.
createConfiguration(DefaultConfigurationFactory.java:205)
        at
org.codehaus.cargo.maven2.configuration.Configuration.createConfigura
tion(Configuration.java:131)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration(Abstr
actCargoMojo.java:292)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(Abstra
ctCargoMojo.java:380)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(AbstractC
argoMojo.java:320)
        at
org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStart
Mojo.java:52)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo
.java:243)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        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:597)
        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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Mar 24 15:42:58 GMT+05:30 2008
[INFO] Final Memory: 12M/22M
[INFO]
------------------------------------------------------------------------

C:\maven2example\maven2example_webapp>


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


RE: i am facing this problem, am using tomcat 6 for starting the server with maven

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
This looks like a misconfiguration of your pom. Please use the user list
for these questions as you will find a much larger audience who may have
seen this before.

-----Original Message-----
From: sridhar.thota@accenture.com [mailto:sridhar.thota@accenture.com] 
Sent: Monday, March 24, 2008 8:00 AM
To: dev@maven.apache.org
Subject: i am facing this problem, am using tomcat 6 for starting the
server with maven


C:\maven2example\maven2example_webapp>mvn package
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building maven2example_webapp Maven Webapp
[INFO]    task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] No tests to run.
[INFO] [war:war]
[INFO] Packaging webapp
[INFO] Assembling webapp[maven2example_webapp] in
[C:\maven2example\maven2exampl
e_webapp\target\maven2example_webapp-1.0-SNAPSHOT]
[INFO] Processing war project
[INFO] Webapp assembled in[540 msecs]
[INFO] Building war:
C:\maven2example\maven2example_webapp\target\maven2example_
webapp-1.0-SNAPSHOT.war
[INFO] [cargo:start {execution: tomcat-execution}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot create configuration. There's no registered configuration
for the
parameters (container [id = [tomcat6.0], type = [installed]],
configuration type
 [standalone]). Actually there are no valid types registered for this
configurat
ion. Maybe you've made a mistake spelling it?
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.codehaus.cargo.container.ContainerException: Cannot create
configuration. Th
ere's no registered configuration for the parameters (container [id =
[tomcat6.0
], type = [installed]], configuration type [standalone]). Actually there
are no
valid types registered for this configuration. Maybe you've made a
mistake spell
ing it?
        at
org.codehaus.cargo.generic.spi.AbstractGenericHintFactory.createImple
mentation(AbstractGenericHintFactory.java:143)
        at
org.codehaus.cargo.generic.spi.AbstractIntrospectionGenericHintFactor
y.createImplementation(AbstractIntrospectionGenericHintFactory.java:86)
        at
org.codehaus.cargo.generic.configuration.DefaultConfigurationFactory.
createConfiguration(DefaultConfigurationFactory.java:205)
        at
org.codehaus.cargo.maven2.configuration.Configuration.createConfigura
tion(Configuration.java:131)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createConfiguration(Abstr
actCargoMojo.java:292)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createNewContainer(Abstra
ctCargoMojo.java:380)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.createContainer(AbstractC
argoMojo.java:320)
        at
org.codehaus.cargo.maven2.ContainerStartMojo.doExecute(ContainerStart
Mojo.java:52)
        at
org.codehaus.cargo.maven2.AbstractCargoMojo.execute(AbstractCargoMojo
.java:243)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:447)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
        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:597)
        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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Mon Mar 24 15:42:58 GMT+05:30 2008
[INFO] Final Memory: 12M/22M
[INFO]
------------------------------------------------------------------------

C:\maven2example\maven2example_webapp>


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete
the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org