I have moved a JSF
netbeans project from one PC to a new PC (the program works correctly on the old pc). I have successfully restored the code and the database but I am having issues trying to get the two to work together. The issue seems to be that on more old PC I was using an older version of mySQL and the relevant connector. Now when trying to connect I am getting an error message
java.sql.sqlexception java.lang.classcastexception: java.math.bigInterger cannot be cast to java.lang.long
I have tried downloading the latest J connector and have copied the jar file into the project but that has not fixed the issue and I am still getting the error above.
Does anyone have any ideas on what I can do to fix this issue? I have checked the previous answer and have replaced the connector/j with the most recent one but to know avail