JBoss部署不兼容JDBC的驱动程序类com.mysql.jdbc.Driver [英] JBoss Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver

查看:337
本文介绍了JBoss部署不兼容JDBC的驱动程序类com.mysql.jdbc.Driver的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家晚上好,有人知道这个错误

Good evening all, does any one know anything about this error

JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)

它总是在我开始部署mysql jar时出现,并且我的应用程序无法在服务器上启动.HTTP Status 404我从中受了很多苦,无法提供任何解决方案,请帮帮我.

it always appears when i start deploying mysql jar and my application fails to start on the sever HTTP Status 404 i suffered a lot from that and can't have any solution, please help me.

注意:我用过mysql-connector-java-5.1.24.jar

推荐答案

由于MySQL驱动程序不兼容JDBC,因此将打印该消息.这可能看起来有些奇怪,但这是一个长期存在的已知问题:

That message gets printed because the MySQL driver is not JDBC compliant. That may seem a bit weird, but it's a long-standing known issue:

问题是,要完全兼容JDBC,驱动程序必须具有符合SQL92标准入门级的SQL支持,但是MySQL不支持该功能.您没看错:MySQL不支持二十年前标准的最基本级别.可能缺少功能的最突出示例是检查约束.因此,驱动程序不兼容,并且JBoss记录了一条消息.

The problem is that to be fully JDBC compliant, the driver has to have SQL support conforming to the entry level of the SQL92 standard, but MySQL doesn't support features that are required by that. You read that right: MySQL doesn't support the most basic level of a twenty-year-old standard. Probably the most prominent example of a missing feature is check constraints. Therefore, the driver is non-compliant, and JBoss logs a message saying so.

但是,这不会阻止驱动程序正确部署.如消息所述,JBoss对其进行部署.

However, this does not prevent the driver deploying correctly. As the message says, JBoss deploys it.

如果您的应用无法运行,则问题出在其他地方.

If your app is not working, the problem lies somewhere else.

这篇关于JBoss部署不兼容JDBC的驱动程序类com.mysql.jdbc.Driver的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆