Wicket Phone Book example

2008-02-04 Thread Omair Aasim

Hello,
I'm pretty new to wicket and tried out the phonebook
example by downloading the war file and deployed it on
tomcat and it worked fine.

Later i downloaded the source code and without making
any modifications, compiled it using Maven, created
the war file and deployed it again. But this new war
file is throwing the following error:
*
exception
javax.servlet.ServletException: Servlet.init() for
servlet phonebook threw exception

root cause
java.lang.IncompatibleClassChangeError
*

I know I'm doing something very stupid. This is the
first time I'm using maven too and I just followed the
instructions to compile and build the war.

Any help will be appreciated.
Thanks

   
-
Never miss a thing.   Make Yahoo your homepage.

Re: Wicket Phone Book example

2008-02-04 Thread Martijn Dashorst
I think you need to remove servlet-api and jetty-* jars from the
war/web-inf/lib folder
Martijn

On 2/5/08, Omair Aasim [EMAIL PROTECTED] wrote:


 Hello,
 I'm pretty new to wicket and tried out the phonebook
 example by downloading the war file and deployed it on
 tomcat and it worked fine.

 Later i downloaded the source code and without making
 any modifications, compiled it using Maven, created
 the war file and deployed it again. But this new war
 file is throwing the following error:
 *
 exception
 javax.servlet.ServletException: Servlet.init() for
 servlet phonebook threw exception

 root cause
 java.lang.IncompatibleClassChangeError
 *

 I know I'm doing something very stupid. This is the
 first time I'm using maven too and I just followed the
 instructions to compile and build the war.

 Any help will be appreciated.
 Thanks


 -
 Never miss a thing.   Make Yahoo your homepage.




-- 
Buy Wicket in Action: http://manning.com/dashorst
Apache Wicket 1.3.0 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0


Re: Phone book example

2007-08-13 Thread Igor Vaynberg
that is not the svn url for wicket-stuff repo, see sf.net project site

-igor


On 8/13/07, [EMAIL PROTECTED] 
[EMAIL PROTECTED] wrote:

 Hi

 I am new to Wicket and java and am trying to get the phone book example to
 at
 https://svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-phonebook/
 and get BAD GATEWAY. Where can I get it?

 Many thanks
 Jim


 This message and any attachments (the message) is
 intended solely for the addressees and is confidential.
 If you receive this message in error, please delete it and
 immediately notify the sender. Any use not in accord with
 its purpose, any dissemination or disclosure, either whole
 or partial, is prohibited except formal approval. The internet
 can not guarantee the integrity of this message.
 BNP PARIBAS (and its subsidiaries) shall (will) not
 therefore be liable for the message if modified.


 **

 BNP Paribas Private Bank London Branch is authorised
 by CECEI  AMF and is regulated by the Financial Services
 Authority for the conduct of its investment business in
 the United Kingdom.

 BNP Paribas Securities Services London Branch is authorised
 by CECEI  AMF and is regulated by the Financial Services
 Authority for the conduct of its investment business in
 the United Kingdom.

 BNP Paribas Fund Services UK Limited is authorised and
 regulated by the Financial Services Authority