Well, I finally got around to trying this and building the war file with maven made no difference. It did successfully download the jetty libraries to run the unit tests but I still had the error when using the war file in Tomcat.
So, I followed your second suggestion and commented out the main method in WicketExampleApplication.java and rebuilt using maven and that worked just fine. Thank you for your help. Now I can get on with looking at the example application code to see how I like the look of Wicket. I love the concept, I just need to see if I like the implementation. :-) On 6/28/05, Simon Chappell <[EMAIL PROTECTED]> wrote: > Thank you I'll try that. I think that I did previously build it with > maven, so I may end up having to hack the main() method. I'll report > back on which approach worked. > > Simon > > On 6/28/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > > Hmm, just found out that WicketExampleApplication.java contains a > > main() which starts up jetty. I think you have two options: a) disable > > main() and b) use maven to build the examples. Maven will > > automatically download the required jetty jars. Please note that maven > > is our preferred means of building wicket. > > > > Juergen > > > > On 6/25/05, Simon Chappell <[EMAIL PROTECTED]> wrote: > > > I'm having problems with the source code version of > > > wicket-examples-1.0. I successfully used the binary version in Tomcat > > > 5.0.28 on my Mac running OS X 10.3.9 with java 1.4.2. I then > > > downloaded and untared the source version. I built it using "maven > > > war" and the build seemed successful. When I put the generated WAR > > > file into Tomcat, I get the main page, but upon selecting the > > > helloworld example, I get the following exception: > > > > > > java.lang.NoClassDefFoundError: org/mortbay/http/HttpServer > > > > > > Should the examples be looking for Jetty? I don't get this problem > > > with the binary version. Is there some build option that I didn't > > > select? A special non-Jetty option perhaps? > > > > > > Any help would be appreciated, as Wicket looks very interesting to > > > this Struts user. :-) > > > > > > Simon > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > > informative Webcasts and more! Get everything you need to get up to > > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > > _______________________________________________ > > > Wicket-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&opclick > > _______________________________________________ > > Wicket-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > -- > -- > www.simonpeter.com > -- www.simonpeter.com ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click _______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
