Will not recognize class outside of package.
Answered
When a class has been moved into a package it will not recognize any other classes.
Trying to create a class that inherits from a abstract class but when moved into a package it cant access any other classes.
I have checked auto import when creating a new project but the problem still exists.
Also when starting a new project a java module is not being created automatically
Problems occured after an update.
Please sign in to leave a comment.
Please share a sample project to reproduce and idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085).
Its just started doing this I have completed projects before without this issue, I have not changed any of my settings but did update intellij and this has been a problem since.
So the child class won't recognize the parent class if its in a package how do I fix that ?
Java doesn't support importing classes that reside in the default package, this is language limitation, not IntelliJ IDEA:
https://stackoverflow.com/questions/283816/how-to-access-java-classes-in-the-default-package
Thank you for your help.