intellij has placed what look like no entry signs over my java files (red circles with a line through) searched around but cannot find why? Would anyone know please.
It’s a maven project if that makes a difference
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It means those files aren’t part of the project settings. How did you create that project?
I’m not sure which version of IntelliJ you’re using – I run 9.0.1. I’d recommend opening the project structure (icon to the right of the “wrench” or Ctrl+Alt+Shift+S), click on “Modules”, and designate the directory where the .java files are located as a source directory (it’ll change to a blue color).