Run java package | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Run java package

I am using vs code, my files are run ok but when I ran files in package it gives me this error: Class names. '......' are only accepted if annotation processing is explicitly requested Can anyone help me?

1st Feb 2022, 6:12 AM
Maryam Magdy
Maryam Magdy - avatar
1 Answer
+ 1
You have to remember to write ".java" when you are running the compiler on your computer.
1st Feb 2022, 6:37 AM
Ausgrindtube
Ausgrindtube - avatar