target/generated-sources
directory.What happened to me is that it somehow reinstated a filter in the Java Build Path. Something "reverts" the .classpath file in the project root...
- Right click on your project,
- click Properties,
- click on Java Build Path,
- find your source folder with the generated sources, and you will see
Excluded: **
[means exclude all] - click on it,
- click Edit,
- click on the Exclusion pattern stating
**
, - click Remove,
- click Finish,
- now you should see
Excluded: (None)
, - click Apply,
- click OK,
- rebuild :)