I have created a Java project in NetBeans and the JAR file does not have any data, only GUI is appearing. Meanwhile, the project in NetBeans is working fine. I have attached the JAR file of MySQL in classpath and done every solution I could find. I couldn’t get through this problem.
Here are screenshots of my project working in NetBeans and output of the JAR file, respectively.
enter image description here
enter image description here
Can anyone suggest me any solution. I can provide code as well.
I’ve tried to add mysql connector in project and expected to get JAR file connected to output, but it didn’t work.
HITCOM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1