Reputation: 432
I am new to Maven and working in intellij
What I did
Intelij says it can not find my project classes when I call them from other files. (See Picture)
I have tried a re-build and clean but I can not use my project classes. Alt-Enter does not show any hope.
Upvotes: 1
Views: 590
Reputation: 10064
From the picture, Node class is in the default package and Sample class in sample package.
Try putting Node in a package and import it in Sample class.
Just as a reminder the usage of default package is discouraged.
Upvotes: 2