Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 21070 invoked from network); 2 Aug 2006 05:17:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 05:17:12 -0000 Received: (qmail 81450 invoked by uid 500); 2 Aug 2006 05:17:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 81387 invoked by uid 500); 2 Aug 2006 05:17:10 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 81376 invoked by uid 99); 2 Aug 2006 05:17:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 22:17:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [217.12.11.33] (HELO smtp002.mail.ukl.yahoo.com) (217.12.11.33) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Aug 2006 22:17:09 -0700 Received: (qmail 855 invoked from network); 2 Aug 2006 05:16:47 -0000 Received: from unknown (HELO ?192.168.1.30?) (reinhard?poetz@62.178.239.20 with plain) by smtp002.mail.ukl.yahoo.com with SMTP; 2 Aug 2006 05:16:47 -0000 Message-ID: <44D0353C.1080609@apache.org> Date: Wed, 02 Aug 2006 07:16:44 +0200 From: Reinhard Poetz User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: My first steps with cocoon 2.2 mavenized application References: <44CF9638.5040608@mobilebox.pl> <44CFF735.3060400@dslextreme.com> In-Reply-To: <44CFF735.3060400@dslextreme.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ralph Goers wrote: > Leszek Gawron wrote: >> So I've done: >> >> mvn archetype:create -DarchetypeGroupId=org.apache.cocoon >> -DarchetypeArtifactId=cocoon-22-archetype-block >> -DarchetypeVersion=1.0.0-SNAPSHOT -DgroupId=com.mycompany >> -DartifactId=myBlock >> >> cd myBlock >> >> mvn package >> >> mvn cocoon:deploy >> >> mvn jetty6:run >> >> and I have a working webapp! That's awesome. >> > That is pretty cool, except the webapp doesn't run for me. I run in > cygwin and it fails with > > > Internal Server Error > > Message: null > > Description: No details available. > > Sender: org.apache.cocoon.servlet.RequestProcessor > > Source: Cocoon Servlet > > Request URI > > cause > > No default type exists for 'map:pipeline' at file:/C:/cygwin/home/Ralph/ctemp/myBlock/target/myBlock/sitemap.xmap:26:19 > > request-uri > > / > > null 2.2.0-SNAPSHOT > > Do you have a minimal Cocoon web application in file:/C:/cygwin/home/Ralph/ctemp/myBlock/target/myBlock/WEB-INF containing cocoon/xconf and cocoon/sitemap-additions directories? It looks like that you don't have cocoon/sitemap-additions/cocoon-core.xmap there, do you? -- Reinhard P�tz Independent Consultant, Trainer & (IT)-Coach {Software Engineering, Open Source, Web Applications, Apache Cocoon} web(log): http://www.poetz.cc -------------------------------------------------------------------- ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de