Ivan, Thanks for the suggestion. Unfortunately, it does not help - Idea does not let me apply the changes:
`Content root "/home/pavel/w/ignite" is defined for modules "apache-ignite" and "ignite". Two modules in a project cannot share the same content root.` Clearly I'm doing something wrong - maybe I'm importing the project into Idea in a wrong way? Or should I use a different JDK? Which version is best for Ignite development right now? (I'm using OpenJDK 8 just out of habit) On Mon, Aug 10, 2020 at 10:02 AM Ivan Bessonov <bessonov...@gmail.com> wrote: > Hi Pavel, > > please go to "Project Structure | Project Settings | Modules", > find module "ignite-tools", open tab "Sources" and mark folder > "src/main/java11" as "excluded". Should help. > > This happens from time to time if you switch from a very old branch > (like "ignite-2.5") to a fresh branch like "master". > > вс, 9 авг. 2020 г. в 21:18, Pavel Tupitsyn <ptupit...@apache.org>: > > > Igniters, > > > > The project does not seem to compile in IDEA: > > there are two IgniteLinkTaglet versions for Java 8 and Java 9+, > > and both files get picked up by the IDE for some reason, resulting > > in build errors. > > > > I've done all the usual things (fresh clone, invalidate caches). > > java-8 profile is enabled, java-9+ disabled, only JDK 8 is installed. > > Maven build is fine, only IDEA gives me errors. > > > > I've seen some people just delete one of the IgniteLinkTaglet files, > > this works for me too but is quite inconvenient. > > Is there any trick to this? > > > > > -- > Sincerely yours, > Ivan Bessonov >