英文:
why does IntelliJ IDEA debug complain a package does not exist while it's there
问题
我是新手使用Java和IntelliJ IDEA。
尝试理解一个Java Maven包(https://github.com/prestosql/presto/tree/337,发布版本337)。在我将项目导入IntelliJ IDEA后,我尝试调试一个test:
但然后它抱怨一个包不存在,尽管它在那里被突出显示,如何让IDEA找到这个包,请?
英文:
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 :
But then it complains a package doesn't exist while it's there as highlighted, how to make IDEA find the package, please?
答案1
得分: 1
尝试执行以下命令
mvn clean install
以清理项目并获取所有项目依赖项。
英文:
try to execute this command
> mvn clean install
to clean your project, and get all your project dependencies
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论