On 9/21/07, 罗霄 <[EMAIL PROTECTED]> wrote: > Hi All, > > I just start to learn Appfuse 2.0. > When I integrates my project with WTP. I met some problem in the > tutorial. > > # Use the AppFuse archetypes to create the project. I used the Struts-2 > Modular version. If you're not using a modular archetype, you can skip to > step #6. > # Under "myproject", create a new dir called pom. Copy myproject/pom.xml to > myproject/pom/pom.xml. > # Modify myproject/pom.xml to change the artifactId to "myproject-pom". > # Modify core/pom.xml and web/pom.xml to change the parent pom artifactId to > "myproject-pom" and delete the relativePath element > # Modify myproject/pom.xml to add the "pom" module, in addition to core and > web in the modules section > # Run mvn install eclipse:eclipse > > After I run mvn, the system told me that myproject/pom/core/pom.xml doesn't > exist. > I am afraid it is caused by the piece of code in the myproject/pom/pom.xml > > > <modules> > <module>core</module> > <module>web</module> > </modules> > > And After I remove the code, I met another expcetion from the mvn. > [INFO] Trace > Error while expanding > C:\DOCUME~1\xiluo2\LOCALS~1\Temp\cargo\installs\apache-tom > cat-6.0.14.zip > Caused by: java.io.EOFException: Unexpected end of ZLIB input stream
This is caused by a failed download of Tomcat. To fix, I'd try deleting the zip from the folder on your hard drive, or change your pom to use <cargo.home> instead of downloading. I saw this nice visual tutorial on Maven 2 and WTP today - maybe it will help: http://eulogica.ca/blog/?p=31 Matt > > > Did anybody met the same problem? Hope to your response. > > > xiuxiu > > -- http://raibledesigns.com
