About 51 results
Open links in new tab
  1. Java file outside of source root intelliJ - Stack Overflow

    Aug 21, 2020 · I have cloned a spring boot project from GitLab having multiple branches in IntelliJ. I checkout to the branch in which I want to work. But I am getting "Java file outside of source …

  2. I cant run files because "Java file outside of source root Intellij ...

    Mar 9, 2024 · I have been trying to figure out why I cannot run my java files, I cloned this repository from git hub as part of a university project, I can edit code, commit and do basically everything other than …

  3. IntelliJ: Source root is not handled correctly - Stack Overflow

    There are no source folders above. Also, creating a verifible example is not possible: When creating a new IntelliJ project and importing the modules from scratch, it often works correctly. But after some …

  4. java - Auto errors detection in IntelliJ IDEA - Stack Overflow

    Apr 9, 2017 · Java file is not analyzed since it's located outside of the source root. You need to either relocate the file or reconfigure your content roots so that it resides under the folder configured as the …

  5. java - What does this symbol mean in IntelliJ? (red circle on bottom ...

    Feb 4, 2011 · Under the target folder in IntelliJ for a Java project I created, I have a few java source files in the package. Beside each file the 'J' icon has a red circle with a line through it. What does t...

  6. Bazel build: Java file is located outside of module source root, so it ...

    Sep 15, 2024 · I see the message " Java file is located outside of module source root, so it won't be compiled " and the test files don't get compiled. enter image description here

  7. java - Intellij Idea files with a red circle - Stack Overflow

    May 8, 2015 · IntelliJ recognises that this is a java file, but it's not marked as part of the project source. Check that your project is following the maven standards, and if not configure the pom to tell it where …

  8. Unable to create new folder inside src/main/java in IntelliJ IDEA when ...

    Jun 2, 2025 · The problem is: The src/main/java folder is marked as Sources Root (blue folder). Inside IntelliJ, the nested packages sometimes show as a single folder with dots (like …

  9. IntelliJ IDEA - adding .java file to project dependencies

    Jul 25, 2018 · Mark that directory as source root by right clicking on it. Put your test .java source files under src/test/java. Mark that directory as test root by right clicking on it. Use the same package …

  10. Intellij IDEA doesn't recognize java file: blue square in directory

    You should unmark src directory as a source root because it doesn't contain Java code. In your example only src/main/java directory should be marked as source root. You can do it by right clicking on src …