Witam! Z góry przepraszam za banalne pytanie, ale jestem początkujący.
Jak dodać package "LibraryProject.common" w celu użycia klasy Library w widocznym pliku (StartView w package "LibraryProject.views")?
Wyskakuje błąd:
Multiple markers at this line
- Syntax error on token "package", import expected
- The declared package "LibraryProject.common" does not match the expected package
"LibraryProject.views"
A w przypadku zmiany na "import"
Multiple markers at this line
- The declared package "LibraryProject.common" does not match the expected package
"LibraryProject.views"- Syntax error on token "package", import expected
- Only a type can be imported. LibraryProject.common resolves to a package