I can't import java.sql classes even that I have added them to the library

Answered

 

 

0
4 comments

Could you please provide a project example?

0

Since this Java 9+ project, You need to add "requires java.sql" in your module-info.java

Easiest way to do that is press alt-enter on the import (red) and it should you the menu to do this. 

2
Avatar
Permanently deleted user

@Krishnan Thanks it solved the problem

1
Avatar
Permanently deleted user

@... Thank you very. Bless you, I was about to give up on a tutorial. 

0

Please sign in to leave a comment.