M
M
Mark Karas2019-03-23 20:34:01
Java
Mark Karas, 2019-03-23 20:34:01

When creating a class in the default package, it writes this at the beginning. Yes, the question is stupid, but I have this problem for the first time, what should I do?

Multiple markers at this line
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- Must declare a named package because this compilation unit is associated to the named module
'clicker'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cheypnow, 2019-04-01
@FreeTile

Don't create classes in default package

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question