That smells like a Java 5 issue running against Java 6 code.

Make sure your POM says to use Java 6 if you use @Override against an
Interface, or try removing the annotation (or look around in that
area, not positive).

http://blogs.sun.com/ahe/entry/override_snafu

On Jan 8, 3:48 pm, Sean McRae <[email protected]> wrote:
> I have just began using the gwt-maven plugin and I appreciate all the
> work that has gone into it.
>
> I am getting a strange error during the GWT compilation of my code
> which was previously working fine under our old Ant build. The strange
> part is that even though I get the error, the compilation is
> successful and the unit tests run and all pass.
>
> We have a class, BaseGwtTestCase, that extends GWTTestCase and
> basically just sets the module name. The rest of our unit tests then
> extend BaseGwtTestCase and exercise the unit.Here is what I get:
>
>       [ERROR] Line 10: The import
> com.google.gwt.junit.client.GWTTestCase cannot be resolved
>       [ERROR] Line 19: GWTTestCase cannot be resolved to a type
>       [ERROR] Line 26: The method getModuleName() of type
> BaseGwtTestCase must override a superclass method
>
> I basically followed the sample 'multi project and composition sample'
> pom for this project, but perhaps I missed some dependency or some
> other setting?
>
> I am using GWT-Maven plugin 2.0 beta 26, with GWT 1.5.3 and JDK 6.
>
> Any suggestions would be greatly appreciated.
>
> Sean
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-maven" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-maven?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to