I know this has to be an easy fix, but for the life of me I can't find the answer. I'm working on Windows 10 -> Netbeans 8.2 and just trying to create a basic WebApplication1 project. But I always get...
package com.mysql does not exist
I created a database connection in Services and was able to access the database with the same (Connector/J driver).
Here's what I've tried with "WebApplication1" in projects:
* added [mysql-connector-java-5.1.46-bin.jar] to WEB-INF -> lib;
* tried [Tools][libraries][Add JAR/Folder]
* set CLASSPATH in System Variables (don't think I need this)
* cleared Netbeans cache
if I right click Libraries->Add JAR/Folder and select the jar file, I get the mysql drop down after typing com., but still "does not exist"; otherwise it just shows oracle and sun.
If I remove the "com.mysql" import, I can run the file. It's just a very, very simple print message routine; the code is anorexic.
I'm thinking I should just be able to add the jar file to WEB-INF/lib and everything should be fine.
Any clues...or is there more information I need to supply?
Last screen shot of environment: enter image description here