Search code examples
javamavenintellij-ideatrino

why does IntelliJ IDEA debug complain a package does not exist while it's there


I'm new to Java and IntelliJ IDEA.

Trying to understand a Java Maven package (https://github.com/prestosql/presto/tree/337, release version 337). After I import the project into IntelliJ IDEA, I tried to debug a test :

enter image description here

But then it complains a package doesn't exist while it's there as highlighted, how to make IDEA find the package, please?

enter image description here


Solution

  • try to execute this command

    mvn clean install

    to clean your project, and get all your project dependencies