Cargo/PluginError

HomePage | Cargo | RecentChanges | Preferences

No diff available--this is the first major revision. (no other diffs)
Configuration
<project>
...
   <build>
      <plugins>
         <plugin>
            <groupId>org.codehaus.cargo</groupId>
            <artifactId>cargo-maven2-plugin</artifactId>
            <configuration>
               <container>
                  <containerId>tomcat5x</containerId>
                  <home>c:/java/apache-tomcat-5.5.15</home>
                  <log>c:/temp/tomcat5x.log</log>
                  <output>c:/temp/tomcat5x-output.log</output>
               </container>
               <configuration>
                  <home>${project.build.directory}/tomcat</home>
                   <properties>
                      <cargo.hostname>www.example.com</cargo.hostname>
                      <cargo.servlet.port>443</cargo.servlet.port>
                      <cargo.protocol>https</cargo.protocol>
                      <cargo.secure>true</cargo.secure>
                      <cargo.client.auth></cargo.client.auth>
                      <cargo.ssl.protocol></cargo.ssl.protocol>
                   </properties>
               </configuration>
            </configuration>
         </plugin>
      </plugins>
   </build>

</project>


[INFO] [cargo:start]
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.codehaus.cargo.container.spi.deployer.AbstractLocalDeployer.getContai
ner()Lorg/codehaus/cargo/container/InstalledLocalContainer;
[INFO] ------------------------------------------------------------------------
[DEBUG] Trace
java.lang.NoSuchMethodError: org.codehaus.cargo.container.spi.deployer.AbstractL
ocalDeployer.getContainer()Lorg/codehaus/cargo/container/InstalledLocalContainer
;
        at org.codehaus.cargo.container.tomcat.TomcatCopyingLocalDeployer.getDep
loyableDir(TomcatCopyingLocalDeployer.java:64)
        at org.codehaus.cargo.container.spi.deployer.AbstractCopyingDeployer.dep
loy(AbstractCopyingDeployer.java:104)
        at org.codehaus.cargo.container.spi.deployer.AbstractDeployer.deploy(Abs
tractDeployer.java:48)
        at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaStandalo
neLocalConfiguration.setupWebApps(AbstractCatalinaStandaloneLocalConfiguration.j
ava:113)
        at org.codehaus.cargo.container.tomcat.internal.AbstractCatalinaStandalo
neLocalConfiguration.doConfigure(AbstractCatalinaStandaloneLocalConfiguration.ja
va:86)
        at org.codehaus.cargo.container.spi.configuration.AbstractLocalConfigura
tion.configure(AbstractLocalConfiguration.java:162)
        at org.codehaus.cargo.container.tomcat.internal.AbstractTomcatInstalledL
ocalContainer.doStart(AbstractTomcatInstalledLocalContainer.java:74)
        at org.codehaus.cargo.container.spi.AbstractInstalledLocalContainer.star
tInternal(AbstractInstalledLocalContainer.java:232)
        at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(Abstrac
tLocalContainer.java:151)
        at org.codehaus.cargo.maven2.ContainerStartMojo.execute(ContainerStartMo
jo.java:62)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Tue Apr 04 12:53:19 MST 2006
[INFO] Final Memory: 5M/12M
[INFO] ------------------------------------------------------------------------

HomePage | Cargo | RecentChanges | Preferences
This page is read-only | View other revisions
Last edited April 4, 2006 12:57 pm by WendySmoak (diff)
Search: