【发布时间】:2022-12-05 17:02:58
【问题描述】:
'我试图通过连接数据库创建一个用户表来输入用户数据,即使用 try 和 catch 块的 MySQL,但它显示 java.lang.nullpointerexception'
(https://i.stack.imgur.com/yMCAt.png)
I tried to create a user Table in MySQL for entering the data of the user but instead of showing the message "User Table created successfully it is showing the "java.lang.null pointer exception" error.
Can anyone please help me to solve the error?
【问题讨论】:
-
请将代码添加到帖子中 - 而不是代码的图像。
标签: java datatable nullpointerexception