thx fix it. strange that compilers are that different. should be a setting then somewhere in eclipse.
johan On 12/18/06, Martin Benda <[EMAIL PROTECTED]> wrote:
Hi, wicket-examples 2.0 (trunk) module fails to compile using maven and standard javac compiler (however, eclipse compiler doesn't complain): [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Compilation failure /home/bendis/work/accord/wicket/svn/trunk/wicket-examples/src/main/java/wicket/examples/repeater/FormPage.java:[91,25] method does not override a method from its superclass A patch to fix this error: ===== --- src/main/java/wicket/examples/repeater/FormPage.java (revision 488141) +++ src/main/java/wicket/examples/repeater/FormPage.java (working copy) @@ -89,7 +89,7 @@ } @Override - protected Item<Contact> newItem(MarkupContainer parent, String id, int index, + protected Item<Contact> newItem(MarkupContainer<?> parent, String id, int index, IModel<Contact> model) { // this item sets markup class attribute to either 'odd' or ===== Regards, Bendis