On 9/18/06, Rice Yeh <[EMAIL PROTECTED]> wrote:
Do you know how to use the cocoon:deploy on a specifice version? In my local repository, I have 1.0.0-M1, 1.0.0-M2-SNAPSHOT, 1.0.0-SNAPSHOT.On 9/17/06, Leszek Gawron <[EMAIL PROTECTED]> wrote:Rice Yeh wrote:
> I tried the 2.2.0-M2-SNAPSHOT (the trunk), but I get the following error
> message. It seems that CocoonServletListener does not exist any more.
> But cocoon:deploy still have web.xml using the listener.
You have not used the latest cocoon:deploy version.
>
> [INFO] Started configuring web.xml, resource
> base=C:\projects\XS\school\xs-schoo
> l-cocoon\target\xs-school-cocoon
> 501 [main] WARN org.mortbay.log - Could not instantiate listener
> org.apache.coco
> on.servlet.CocoonServletListener
> java.lang.ClassNotFoundException :
> org.apache.cocoon.servlet.CocoonServletListene
> r
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass (URLClassLoader.java :188)
> at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoade
> r.java:334)
> at
> org.mortbay.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoade
> r.java:305)
> at
> org.mortbay.jetty.handler.ContextHandler.loadClass(ContextHandler.jav
> a:784)
>
> For hot deployment, it is jetty6:run 's function. It will scan webapp's
> change if I have the following configuration in the pom.xml (I have
> scanIntervalSeconds set to 10 seconds).
I see .. the maven plugin. I thought you had a separate jetty instance.
--
Leszek Gawron, IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65
