Re: Fix imports (Ctrl+Shift+I)

2021-06-08 Thread Paulo Toledo
Hi Thomas, Killed the riddle! I tested it here and that's really what happens. Thank you very much for the feedback. Regards Paulo Toledo - To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org For additional commands, e

Re: Fix imports (Ctrl+Shift+I)

2021-06-08 Thread Thomas Kellerer
This seems to only happen with Ant projects. Maven projects don't seem to have this problem. If you expand the "JDK 11" node below the "Java dependencies" in the Ant project it shows the modules with the little blue icon but fails to include java.sql This is how the expanded JDK 11 node (in th

Re: Fix imports (Ctrl+Shift+I)

2021-06-05 Thread Ty Young
If the project uses modules then you need to require the java.sql module. Otherwise it may be because of nb-javac. Try installing or uninstalling it. On 6/4/21 10:47 AM, Paulo Toledo wrote: Hi Are there any problems importing when using the shortcut (Ctrl+Shift+I) to fix the imports? I u

Re: Fix imports (Ctrl+Shift+I)

2021-06-05 Thread Paulo Toledo
I found that by changing the project properties in Netbeans, the Source/Binary Format: option from JDK11 to JDK8 the shortcut (Crtl+Shift+I) works normally for java.sql imports. If I return to the JDK11 option it doesn't correctly import the java.sql.

Fix imports (Ctrl+Shift+I)

2021-06-04 Thread Paulo Toledo
Hi Are there any problems importing when using the shortcut (Ctrl+Shift+I) to fix the imports? I use Netbeans 12.4 with Java     openjdk version "11.0.11" 2021-04-20     OpenJDK Runtime Environment 18.9 (build 11.0.11+9)     OpenJDK 64-Bit Server VM 18.9 (build 11.0.11+9, mixed mode, sharin