Try mvn clean first.

Eelco

On 3/30/07, Chan Man Kam <[EMAIL PROTECTED]> wrote:
> I just checkout the branches/wicket-1.x.
>
> After I create the jar file with mvn -Dmaven.test.skip=true package
> and attach the library, jetty always return these exception:
>
> org.mortbay.util.MultiException[java.lang.ClassNotFoundException:
> wicket.protocol.http.WicketFilter]
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:686)
> at org.mortbay.util.Container.start(Container.java:72)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
> java.lang.ClassNotFoundException: wicket.protocol.http.WicketFilter
> 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.http.ContextLoader.loadClass(ContextLoader.java:219)
> at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:187)
> at org.mortbay.http.HttpContext.loadClass(HttpContext.java:1227)
> at org.mortbay.jetty.servlet.Holder.start(Holder.java:188)
> at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:60)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> at org.mortbay.util.Container.start(Container.java:72)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
> java.lang.ClassNotFoundException: wicket.protocol.http.WicketFilter
> 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.http.ContextLoader.loadClass(ContextLoader.java:219)
> at org.mortbay.http.ContextLoader.loadClass(ContextLoader.java:187)
> at org.mortbay.http.HttpContext.loadClass(HttpContext.java:1227)
> at org.mortbay.jetty.servlet.Holder.start(Holder.java:188)
> at org.mortbay.jetty.servlet.FilterHolder.start(FilterHolder.java:60)
> at
> org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:310)
> at
> org.mortbay.jetty.servlet.WebApplicationContext.doStart(WebApplicationContext.java:509)
> at org.mortbay.util.Container.start(Container.java:72)
> at org.mortbay.http.HttpServer.doStart(HttpServer.java:708)
> at org.mortbay.util.Container.start(Container.java:72)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:282)
> at com.iw.plugins.jettyrunner.PluginRunner.launch(PluginRunner.java:104)
> at com.iw.plugins.jettyrunner.PluginRunner.main(PluginRunner.java:75)
>
>
> Here are my web.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
>
> <web-app>
> <display-name>LSA Application</display-name>
>
> <context-param>
> <param-name>configuration</param-name>
> <param-value>deployment</param-value>
> </context-param>
>
> <filter>
> <filter-name>Application</filter-name>
> <filter-class>wicket.protocol.http.WicketFilter</filter-class>
>
> <init-param>
> <param-name>applicationClassName</param-name>
> <param-value>lsa.web.LSAApplication</param-value>
> </init-param>
> <init-param>
> <param-name>filterPath</param-name>
> <param-value>app</param-value>
> </init-param>
> </filter>
>
> <filter-mapping>
> <filter-name>Application</filter-name>
> <url-pattern>/*</url-pattern>
> </filter-mapping>
> </web-app>
>
> I am newbie on maven and sorry for my stupid question.....
>
> Ar.... I always waste time in such kind of setting problem, especially
> for java development....
>
> Thanks,
> Man Kam
>
> Matej Knopp wrote:
> > yeah, that's rather old snapshot, i think it's already fixed.
> >
> > On 3/29/07, Chan Man Kam <[EMAIL PROTECTED]> wrote:
> >
> >> I just download it form mvn (http://wicketstuff.org/maven/repository)
> >> a few day before.
> >>
> >> #Generated by Maven
> >> #Mon Mar 12 00:03:31 CET 2007
> >> version=1.3-incubating-SNAPSHOT
> >>
> >> Man Kam
> >>
> >> Matej Knopp wrote:
> >>
> >>> what version are you using? can you check if this still happens with
> >>> latest 1.3 wicket version?
> >>>
> >>> -Matej
> >>>
> >>> On 3/29/07, Chan Man Kam <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>> Dear all,
> >>>>
> >>>> At first, I got this exception, after I click "Close this window with
> >>>> result "OK"" inside the ModalWindow.
> >>>>
> >>>> wicket.util.io.WicketSerializeableException: Error reading field: locale
> >>>> for object class: class
> >>>> wicket.extensions.ajax.markup.html.modal.ModalWindow$MaskType
> >>>> children->maskType
> >>>> NOTE: if you feel Wicket is at fault with this exception, please report
> >>>> to the mailing list. You can switch to JDK based serialization by
> >>>> calling: wicket.util.lang.Objects.setObjectStreamFactory(new
> >>>> IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init
> >>>> method of your application
> >>>> at 
> >>>> wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:424)
> >>>> at
> >>>> wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96)
> >>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
> >>>> at
> >>>> wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869)
> >>>> at 
> >>>> wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414)
> >>>> at
> >>>> wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96)
> >>>> at
> >>>> wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:133)
> >>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
> >>>> at
> >>>> wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869)
> >>>> at 
> >>>> wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414)
> >>>> at
> >>>> wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:96)
> >>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
> >>>> at wicket.util.lang.Objects.byteArrayToObject(Objects.java:397)
> >>>> at wicket.protocol.http.FilePageStore.getPage(FilePageStore.java:149)
> >>>> at
> >>>> wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:138)
> >>>> at wicket.Session.getPage(Session.java:528)
> >>>> at
> >>>> wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:417)
> >>>> at
> >>>> wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:131)
> >>>> at wicket.RequestCycle.step(RequestCycle.java:1037)
> >>>> at wicket.RequestCycle.steps(RequestCycle.java:1138)
> >>>> at wicket.RequestCycle.request(RequestCycle.java:474)
> >>>> at wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:256)
> >>>> at wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:126)
> >>>> at
> >>>> org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
> >>>> at
> >>>> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
> >>>> at 
> >>>> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
> >>>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> >>>> at
> >>>> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
> >>>> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> >>>> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> >>>> at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
> >>>> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
> >>>> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
> >>>> at 
> >>>> org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
> >>>> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
> >>>> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
> >>>> Caused by: java.lang.NullPointerException
> >>>> at
> >>>> wicket.util.io.ClassStreamHandler.createObject(ClassStreamHandler.java:303)
> >>>> at
> >>>> wicket.util.io.WicketObjectInputStream.readObjectOverride(WicketObjectInputStream.java:91)
> >>>> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:342)
> >>>> at
> >>>> wicket.util.io.ClassStreamHandler$ObjectFieldAndIndex.readField(ClassStreamHandler.java:869)
> >>>> at 
> >>>> wicket.util.io.ClassStreamHandler.readFields(ClassStreamHandler.java:414)
> >>>> ... 35 more
> >>>>
> >>>>
> >>>> After I include the "Objects.setObjectStreamFactory(new
> >>>> IObjectStreamFactory.DefaultObjectStreamFactory());"
> >>>> in the init method, the exception disappear, but the "Last modal window
> >>>> result:" show nothing after I do something inside
> >>>> the modal window.
> >>>>
> >>>> I checked that it is should not because of the ajax target cannot
> >>>> refresh the the "Last modal window result:", as the callback
> >>>> that run the "setResult" method cannot update the actual result field
> >>>> inside the ModalWindowPage. wicket-user@lists.sourceforge.net
> >>>>
> >>>> Thanks,
> >>>> Man Kam
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> -------------------------------------------------------------------------
> >>>> Take Surveys. Earn Cash. Influence the Future of IT
> >>>> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> >>>> your
> >>>> opinions on IT & business topics through brief surveys-and earn cash
> >>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>>> _______________________________________________
> >>>> Wicket-user mailing list
> >>>> Wicket-user@lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>>
> >>>>
> >>>>
> >>>>
> >>> -------------------------------------------------------------------------
> >>> Take Surveys. Earn Cash. Influence the Future of IT
> >>> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> >>> your
> >>> opinions on IT & business topics through brief surveys-and earn cash
> >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >>> _______________________________________________
> >>> Wicket-user mailing list
> >>> Wicket-user@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>>
> >>>
> >>>
> >>
> >> -------------------------------------------------------------------------
> >> Take Surveys. Earn Cash. Influence the Future of IT
> >> Join SourceForge.net's Techsay panel and you'll get the chance to share 
> >> your
> >> opinions on IT & business topics through brief surveys-and earn cash
> >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >> _______________________________________________
> >> Wicket-user mailing list
> >> Wicket-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/wicket-user
> >>
> >>
> >>
> >
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Wicket-user mailing list
> > Wicket-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wicket-user
> >
> >
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to