Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] ERROR:The type Superman is already defined in Super.hero #32

Open
anatoly-spb opened this issue Jul 29, 2015 · 1 comment
Open

Comments

@anatoly-spb
Copy link

I observe the same problem like the following
#12 with the master of maven-xtext-example project.

When I compile (mvn install) this example project I got:

[ERROR] ERROR:The type Superman is already defined in Super.hero. (file:/F:/javaee/eclipse_mars_workspace/maven-xtext-example/example-project/src/main/java/Super.model line : 1)

The workaround is mvn clean install, but when we have deals with big projects, this is not suitable workaround.

@camilo040494
Copy link

Use:

mvn clean install

Dont know why the sources are in the project, but when that problem ocurs to me, i cleaned with maven and re-install
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants