Thursday, April 6, 2017

Eclipse: The hierarchy of the type is inconsistent

Hello,

I still have problems after having moved my library and application projects to maven.
On the commandline both compile without errors, but in eclipse I have error markers.

Example:

in myapp:
public class Database extends mylib.Database

Here, eclipse marks the class name red and says:

The hierarchy of the type Database is inconsistent

Note that myapp and mylib are separate maven projects. The project "mylib" is packaged and installed in the repository (~/.m2/...).
The project "myapp" contains a dependency to "mylib", and everything compiles fine on the command line.

In eclipse, both projects were imported as "existing maven project". Note that I did not add "mylib" as a dependend project to "myapp", because I wanted to handle mylib as if it was provided by an external source.

What may be wrong?

Thanks
Magnus

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment