So I do exactly like you say, Barbara: mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0 -DgroupId=my.domain -DartifactId=myBlock cd myBlock mvn jetty:run konqueror http://localhost:8888/myBlock/
I get this error: Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unable to read Avalon configuration from 'sitemap.xmap'.; nested exception is org.apache.avalon.framework.configuration.ConfigurationException: Unable to create class for component with role org.apache.cocoon.serialization.Serializer/svg2png with class: org.apache.cocoon.serialization.SVGSerializer And this is my sitemap (I have adde the definition for the serializer, on your advise.. Normally I don't do this..): http://users.skynet.be/sb015553/sitemap.xmap Thanks, this is not easy :-) Barbara Slupik-3 wrote: > > I create my blocks with: > > mvn archetype:create -DarchetypeGroupId=org.apache.cocoon - > DarchetypeArtifactId=cocoon-22-archetype-block - > DarchetypeVersion=1.0.0 -DgroupId=my.domain -DartifactId=myBlock > > This creates all folders and files necessary to run it in jetty, > including pom. > > Put your files and sitemap in COB-INF. Go to myBlock folder in your > terminal and run > > mvn jetty:run > > Then test your block with url similar to this: > > http://localhost:8888/myBlock/ > > I suppose that you did all this and now you have some errors? Do you > have svg2png serializer defined in your sitemap? > > Barbara > > > On 7 Jul, 2008, at 7:53 pm, jantje wrote: > >> >> Ok, so I do this: >> mvn archetype:generate -DarchetypeCatalog=http:// >> cocoon.apache.org >> mvn jetty:run >> >> Then I copy some little cocoon application (sitemap, and three or fore >> files) to: >> myBlock1/src/main/resources/COB-INF/ >> >> And then? How do I know what I should write in pom? f.i. when I use: >> <map:serialize type="svg2png" /> >> >> Thanks.. >> >> >> >> >> >> Barbara Slupik-3 wrote: >>> >>> I am using cocoon with maven and jetty in my development environment. >>> I develop and test individual blocks. Then I build my block jar files >>> and my cocoon application. Once everything works in maven/jetty >>> development environment I build application war file and put it in my >>> test environment which runs with tomcat. Test/production environment >>> does not need maven or jetty and does not need to download anything, >>> everything is already included in jar files. >>> >>> Barbara >>> >>> On 7 Jul, 2008, at 6:11 pm, jantje wrote: >>> >>>> >>>> Hi there, I have used older versions of cocoon for over years.. Now >>>> I want to >>>> go to cocoon 2.2. >>>> >>>> But now I have to use Maven, and on the cocoon website there is not >>>> a lot of >>>> information about maven and cocoon. >>>> >>>> Therefore I have downloaded this: cocoon-2.2.0.tar.gz >>>> >>>> When I open the file, there is no information about installing >>>> cocoon? I >>>> have tryed "java -jar cocoon-core-2.2.0.jar" Nothing works.. >>>> >>>> Following the tutorials on the cocoon website, with maven I have >>>> made >>>> blocks.. running cocoon.. But this is very basic.. And I want to >>>> add cocoon >>>> to a live cd, so maven using the internet to download files does >>>> not satisfy >>>> me :-( >>>> >>>> Maybe there is documentation I am missing, but can't find it. >>>> Anyhow, does >>>> someone know how to install cocoon-2.2.0.tar.gz??? >>>> >>>> Thanks.. >>>> -- >>>> View this message in context: http://www.nabble.com/Cocoon- >>>> installation-howto--tp18321699p18321699.html >>>> Sent from the Cocoon - Users mailing list archive at Nabble.com. >>>> >>>> >>>> -------------------------------------------------------------------- >>>> - >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>>> For additional commands, e-mail: [EMAIL PROTECTED] >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> -- >> View this message in context: http://www.nabble.com/Cocoon- >> installation-howto--tp18321699p18323968.html >> Sent from the Cocoon - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- View this message in context: http://www.nabble.com/Cocoon-installation-howto--tp18321699p18333754.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]