I am not a good Java programmer yet, but I dream of becoming one. I am practicing building an eCommerce web app with an online Affablebean project using java, my IDE is NetBeans, database is MySQL and MySQL workbench, the server on the Netbeans IDE is Glassfish server 4.
So whenever I try to Ping, to create a connection between Glassfish and MySQL database, I get an error message like this
Ping Connection Pool failed for AffableBeanPool. Connection could not be allocated because: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long Please check the server.log for more details.
How can I fix this problem?