You might try deleting Tomcat and letting Cargo download a new version:
rm -r /tmp/cargo/installs
If that doesn't work, you can modify your Cargo installation to point to an
existing version of Tomcat and use that. If you look in pom.xml, there's
comments showing how to do this.
Matt
On 2/29/08, Arnljot Arntsen <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Trying to get a POC up and running. But after having to start from scratch
> again, I can't get it to build past the cargo tests.
>
> This is the error I see:
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running com.edb.b2b.AppTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.063 sec
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> [INFO] [dbunit:operation {execution: test}]
> [INFO] [war:war]
> [INFO] Exploding webapp...
> [INFO] Assembling webapp the_tool-webapp in
> C:\b2bdev\poc\the_tool\web\target\the_tool-webapp-1.0-SNAPSHOT
> [INFO] Copy webapp webResources to
> C:\b2bdev\poc\the_tool\web\target\the_tool-webapp-1.0-SNAPSHOT
> [INFO] Overlaying 2 war(s).
> [INFO] Generating war C:\b2bdev\poc\the_tool\web\target\the_tool-
> webapp-1.0-SNAPSHOT.war
> [INFO] Building war: C:\b2bdev\poc\the_tool\web\target\the_tool-
> webapp-1.0-SNAPSHOT.war
> [INFO] [cargo:start {execution: start-container}]
> [INFO] [stalledLocalDeployer] Deploying
> [C:\b2bdev\poc\the_tool\web\target\the_tool-webapp-1.0-SNAPSHOT.war] to
> [C:\b2bd
> ev\poc\the_tool\web\target/tomcat5x/container/webapps]...
> [INFO] [talledLocalContainer] Tomcat 5.x starting...
> [WARNING] [talledLocalContainer] java.lang.NoClassDefFoundError:
> org/apache/catalina/startup/Bootstrap
> [WARNING] [talledLocalContainer] Exception in thread "main"
> [WARNING] [talledLocalContainer] Java Result: 1
>
> It then hangs, and then errors out with a stacktrace. Before this, I had a
> working setup which I had to scrap because I wanted to change the package
> name (com.etc.etc), so I ran the archetype create again.
>
> Cheers,
> Arnljot
>
> --
> Arnljot Arntsen
> www.arnljot.com
>