Make sure you have Java.sql module imported
 https://docs.oracle.com/en/java/javase/14/docs/api/java.sql/module-summary.html

Sent from my iPhone

> On 08/02/2021, at 14:10, Bob Schellink <sab...@gmail.com> wrote:
> 
> 
> Hi all,
> 
> With the latest Netbeans12.2 the code assist isn't identifying certain 
> classes such as java.sql.Connection.
> 
> To produce,
> 1) Create new Java With Ant -> Java Application
> 
> In the main method of the generated class type:
> Connection
>  and press Ctrl-Space
> I get no suggestion.
> 
> In the Projects view, right-click on project -> properties -> Sources -> 
> Change Source/Binary format to JDK8 
> the code completion works again.
> 
> Is this a known issue or I'm missing a config somewhere?
> 
> Environment:
> Windows 10,
> Java 14
> Netbeans 12.2
> 
> Kind regards
> 
> Bob

Reply via email to