title: Could not find or load main class in scala in intellij IDE
body: <p>I have searched for this error, but the answers were for Java,
  but my case is Scala. I am trying to run this project in IntelliJ IDE 
  <a href="https://github.com/anirudh985/TwitterSentimentAnalysis" rel="noreferrer">sentimenAnalysis</a>, but it throws an error. This is also the structure of the project. <a href="https://i.stack.imgur.com/NyE1A.png" rel="noreferrer">Class Not found</a></p>
  
  <p><strong>Update 1</strong> According to answers, Adding $ at the end of the name of search class
  <a href="https://i.stack.imgur.com/Wx0Ha.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Wx0Ha.png" alt="enter image description here"></a></p>
  
  <p><strong>Update 2</strong> after adding sbt task:
  <a href="https://i.stack.imgur.com/V9eNA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/V9eNA.png" alt="enter image description here"></a></p>
  
  <p><strong>Update 3</strong>
  My problem was resolved by importing the project, instead of getting it directly from GitHub, probably the manual configuration that Mike Allen said could resolve the problem, but I couldn't successfully apply that.</p>