cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: My first steps with cocoon 2.2 mavenized application
Date Wed, 02 Aug 2006 05:16:44 GMT
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 <http://cocoon.apache.org/>
> 
> 

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

Mime
View raw message