java - Cannot resolve symbol in Git repo files with IntelliJ -


i've been working on getting set using github java project using intellij. i've figured out basics of using github reason after i've got repository set up, clone project , open in intellij has errors recognizing every single class type.

the src files open fine, run fine, compile fine yet intellij highlights every single statement type declaration in it, "cannot resolve symbol", , says not recognize type. yet src files in same folder.

intellij showing type errors

intellij not recognising files proper source code because wasn't told to. need mark folder source root.

  1. right-click on folder
  2. select mark directory assource root

mark directory in intellij


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -