问题描述
我正在开发一个Android应用程序,该应用程序连接到正在运行的mysql服务器,但现在出现java.lang.ClassNotFoundException错误:找不到类"java.sql.SQLType".我不知道发生了什么,我唯一改变的是mysql连接器的版本,我正在使用的计算机,请帮助我.
编辑抱歉,缺少有关该项目的信息,但我不知道需要什么来帮助发现问题.我正在将gradle与Java 1.8和Android SDK 9.0(Pie)一起使用
显然,它与mysql连接器有关,我将其降级到了旧版本(5.1.46)并可以使用,但是感谢您的帮助./p>
I am developing an android app, which connects to a mysql server that was working, but now a java.lang.ClassNotFoundException error: Didn't find class "java.sql.SQLType". I don't know what happened, the only things I changed was the version of the mysql connector, and the computer I was working on, please help me.
EditSorry for the lack of information about the project, but I never know what is needed to help discover the problem.I am using gradle, with java 1.8 and Android SDK 9.0 (Pie)
Apparently it has to do with the mysql connector, I downgraded it to the old version (5.1.46) and it worked, but thanks for the help.
这篇关于MySql Connection中的Java ClassNotFoundException(java.sql.SQLType)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!