So, I was looking to solve this error java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver, but idk why my folder configuration is different from all the post i've found.
The steps i'm doing:
Tools>Libraries>Add jar/Folder
After that I don't know what to do there is like 50 different folders and I've added the libreries to Java DB Driver and even added a folder called Oracle but i'm nowhere near to make this work.
I even installed older versions of netbeans but I get the same window and options when it is supposed to just let me right click on project then Library>Add jar/Folder as mentioned here.
Edit: This is a desktop project, I'm using Netbeans 12.4 (but I also downloaded version 12.3, 12.0), the project was created from 0 with Netbeans 12.4 with these steps:
New project>Java with Maven>Java application>Change name and other information>Finish
After that just added a package then a JFrame, JPanel and a button and tried to add the ojdbc8.jar
I configured the service as @Trashgod said and was able to see the tables, views, etc but still got the same error.