I'm learning java 9 modules, so I started with baeldung tutorial. You can get git project here.
When I'm importing the project, I see no source folders.
When I mark src/modules
as source folder I have these errors :
- In
module-info.java
file :
Package is empty: com.baeldung.student.service.dbimpl
- In declared classes like
StudentService.java
Package name 'com.baeldung.student.service' does not correspond to the file path 'com.baeldung.student.service.com.baeldung.student.service'
Question :
What folders should I mark as source ?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…