Yeah it is very strange that you get different errors in eclipse and javac. I wonder which one is correcct..
But you have to generify the Page then it should work fine (like <Void>) I think we just need to drop the <?> in that example What do you exactly call? johan On Wed, Jun 4, 2008 at 9:39 AM, Rod Good <[EMAIL PROTECTED]> wrote: > Hi, > > I'm getting inconvertible type errors when I compile from Maven on the > command line with Java 6. > > Does anyone know if this issue was resolved ? I am building against > 1.4-m2 - downloaded today (04-06-2008). > > The issue is the same as noted by Ryan Mckinley on 05/21/2008 : > > > > > strangely, things work fine for me in eclipse, but from the command > line, I still get: > > > > $ mvn clean install: > > > > > /Users/ryan/Documents/workspace/dexter/website/src/java/dexter/website/ > wicket/page/DownloadingPage.java:[18,97] inconvertible types found : > java.lang.Class<dexter.website.wicket.page.account.DexSignInPage> > required: java.lang.Class<? extends org.apache.wicket.Page<?>> > > > > I ran: mvn clean install in the wicket directory... > > > > Not sure if the java version is helpful: ryan$ mvn -version Maven > version: 2.0.6 ryan$ javac -version javac 1.6.0_04-dp > > Thanks, > Rod. > > NOTICE > This e-mail and any attachments are confidential and may contain copyright > material of Macquarie Group Limited or third parties. If you are not the > intended recipient of this email you should not read, print, re-transmit, > store or act in reliance on this e-mail or any attachments, and should > destroy all copies of them. Macquarie Group Limited does not guarantee the > integrity of any emails or any attached files. The views or opinions > expressed are the author's own and may not reflect the views or opinions of > Macquarie Group Limited. > >