T
T
Timur Sergeevich2016-01-12 11:17:14
Java
Timur Sergeevich, 2016-01-12 11:17:14

Why can't Intellij see the classes?

e2bd35ad21444f9cabcd940e2d950912.png028630169c904971bde6232198437986.png
There is a Load class which is in the default package. I'm trying to create a class object in the API class, but Load is not visible (also if you create other packages and try to do the same in them, it won't work(

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mrol, 2016-01-12
@mrol

The Api class appears to be in the "serverlet" package (by the way, a more logical name for the package would be servlet).
You need to create a new package at the same level as the "serverlet" package and move the Load class there, or move the Load class to handlers or serverlet.
If you put the class in a package other than serverlet, you will need to import the Load class.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question