Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 12174 invoked from network); 10 Nov 2006 15:23:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Nov 2006 15:23:28 -0000 Received: (qmail 68357 invoked by uid 500); 10 Nov 2006 15:23:37 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 68276 invoked by uid 500); 10 Nov 2006 15:23:36 -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 68265 invoked by uid 99); 10 Nov 2006 15:23:36 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:23:36 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of riceyeh@gmail.com designates 64.233.162.199 as permitted sender) Received: from [64.233.162.199] (HELO nz-out-0102.google.com) (64.233.162.199) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Nov 2006 07:23:23 -0800 Received: by nz-out-0102.google.com with SMTP id n1so339671nzf for ; Fri, 10 Nov 2006 07:23:03 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=dCZ+xkIWOGgUFe/KdsI/SVTjacjapP9Yv5efmhjdps7+WSa3Pf/szBNjqM4aBsH7/2hc/Slofe7jQnarWjb9qWRxWu0naQUe7K8W+LuqCN9bKN3zQHMNkur0hYaYERJvGFJZxvJIVu9S4YmrG921NFsCizUV1HwbEVhosLPbpvM= Received: by 10.35.50.9 with SMTP id c9mr3420710pyk.1163171582494; Fri, 10 Nov 2006 07:13:02 -0800 (PST) Received: by 10.35.134.13 with HTTP; Fri, 10 Nov 2006 07:13:02 -0800 (PST) Message-ID: <47f71d940611100713r7955adf5hf1e313264948aee2@mail.gmail.com> Date: Fri, 10 Nov 2006 23:13:02 +0800 From: "Rice Yeh" To: dev@cocoon.apache.org Subject: [2.2] Couldn't find the sitemap /sitemap.xmap MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_66155_12688766.1163171582309" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_66155_12688766.1163171582309 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, Checkout the latest 2.2 trunk, build it, and then create a web app based on the webapp architect type. I can run the basic webapp well. But after I add a dependence on cocoon-forms-sample block in its pom.xmland run it, i get the following error: Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'org.apache.cocoon.forms.block' defined in URL [jar:file:/C:/t mp/cocoon/myWebapp2/target/myWebapp2-1.0-SNAPSHOT /WEB-INF/cocoon/lib/cocoon-form s-sample-1.0.0-SNAPSHOT.jar!/META-INF/cocoon/spring/cocoon-forms-sample-blockSer vlet.xml]: Invocation of init method failed; nested exception is javax.servlet.S ervletException: Couldn't find the sitemap /sitemap.xmap at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1032) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:420) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:141) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:242) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:156) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:290) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:348) at org.springframework.web.context.support.AbstractRefreshableWebApplica tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156) at org.springframework.web.context.ContextLoader.createWebApplicationCon text(ContextLoader.java:246) at org.springframework.web.context.ContextLoader.initWebApplicationConte xt(ContextLoader.java:184) at org.springframework.web.context.ContextLoaderListener.contextInitiali zed(ContextLoaderListener.java:49) at org.apache.cocoon.bootstrap.servlet.ShieldingListener.invoke (Shieldin gListener.java:152) ... 32 more Caused by: javax.servlet.ServletException: Couldn't find the sitemap /sitemap.xm ap at org.apache.cocoon.sitemap.SitemapServlet.init(SitemapServlet.java :94) at org.apache.cocoon.blocks.BlockServlet.init(BlockServlet.java:104) at org.apache.cocoon.blocks.BlockServlet.afterPropertiesSet (BlockServlet .java:205) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029) ... 44 more Any clue? Rice ------=_Part_66155_12688766.1163171582309 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi,
  Checkout the latest 2.2 trunk, build it, and then create a web app based on the webapp architect type. I can run the basic webapp well.
But after I add a dependence on  cocoon-forms-sample block in its pom.xml and run it, i get the following error:

Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'org.apache.cocoon.forms.block' defined in URL [jar:file:/C:/t
mp/cocoon/myWebapp2/target/myWebapp2-1.0-SNAPSHOT /WEB-INF/cocoon/lib/cocoon-form
s-sample-1.0.0-SNAPSHOT.jar!/META-INF/cocoon/spring/cocoon-forms-sample-blockSer
vlet.xml]: Invocation of init method failed; nested exception is javax.servlet.S
ervletException: Couldn't find the sitemap /sitemap.xmap
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1032)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:420)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:245)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:141)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:242)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:156)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:290)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:348)
        at org.springframework.web.context.support.AbstractRefreshableWebApplica
tionContext.refresh(AbstractRefreshableWebApplicationContext.java:156)
        at org.springframework.web.context.ContextLoader.createWebApplicationCon
text(ContextLoader.java:246)
        at org.springframework.web.context.ContextLoader.initWebApplicationConte
xt(ContextLoader.java:184)
        at org.springframework.web.context.ContextLoaderListener.contextInitiali
zed(ContextLoaderListener.java:49)
        at org.apache.cocoon.bootstrap.servlet.ShieldingListener.invoke(Shieldin
gListener.java:152)
        ... 32 more
Caused by: javax.servlet.ServletException: Couldn't find the sitemap /sitemap.xm
ap
        at org.apache.cocoon.sitemap.SitemapServlet.init(SitemapServlet.java:94)

        at org.apache.cocoon.blocks.BlockServlet.init(BlockServlet.java:104)
        at org.apache.cocoon.blocks.BlockServlet.afterPropertiesSet (BlockServlet
.java:205)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
        ... 44 more

Any clue?

Rice

------=_Part_66155_12688766.1163171582309--