之前搜索都是配置项问题:
1.端口号 ip地址
2.账号 密码

    <named-config name="greemysql"><property name="driverClass">com.mysql.jdbc.Driver</property><property name="jdbcUrl">jdbc:mysql://192.168.115.23:3306/school?useSSL=false</property><property name="user">root</property><property name="password">ok</property><property name="initialPoolSize">10</property><property name="maxPoolSize">100</property><property name="checkoutTimeout">3000</property><property name="maxIdleTime">30</property><property name="minPoolSize">10</property></named-config>

但是我这个呆比错误原因是我的配置项文件命名错误

Exception in thread “main“ java.sql.SQLException: Connections could not be acquired from the underly相关推荐

  1. Exception in thread “main“ java.sql.SQLException: The server time zone value

    jdbc:mysql://localhost:port/test 替换为 jdbc:mysql://localhost:port/test?serverTimezone=GMT%2B8

  2. Exception in thread main java.sql.SQLException: Access denied for user ''@'localhost' (using passw

    查看你获得连接时是否只输入了URL,而忘记了用户名和密码,如:  Connection conn=DriverManager.getConnection("jdbc:mysql://lo ...

  3. Hive报错:Exception in thread main java.lang.Incom。。。。 Class com.google.common.collect.ImmutableSotil

    Exception in thread "main" java.lang.IncompatibleClassChangeError: Class com.google.common ...

  4. 命令行出错Exception in thread main java.lang.UnsupportedClassVersionError:

    今天运行自己写的java程序的时候突然出现如下的错误. 编译的时候能通过,但是运行的时候就出错.提示没有找到main函数的入口. 汗.找了个hello world!测试了下也是如此 就证明不是程序的错 ...

  5. Exception in thread main java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Wi

    该错误和我的上一篇博文ERROR [org.apache.hadoop.util.Shell] - Failed to locate the winutils binary in the hadoop ...

  6. Exception in thread “main“ java.lang.UnsupportedOperationException: Schema for type Any is not suppo

    报错信息 Exception in thread "main" java.lang.UnsupportedOperationException: Schema for type A ...

  7. Exception in thread“main“java.lang.IllegalArgument Exception:Unsupported class file major version 58

    rt,具体的错误信息如下所示: IDEA.app/Contents/lib/idea_rt.jar=55620:/Applications/IntelliJ IDEA.app/Contents/bin ...

  8. Exception in thread main java.lang.Error: 无法解析的编译问题: 方法 main 不能声明为 static;只能在静态类型或顶级类型中才能声明静态方法

    Exception in thread "main" java.lang.Error: 无法解析的编译问题: 方法 main 不能声明为 static:只能在静态类型或顶级类型中才 ...

  9. exception in thread main java.lang.noclassdeffounderror wrong name

    不含包层次的HelloWorld.java public class HelloWorld{ public static void main(String[] args) { System.out.p ...

最新文章

  1. Linux上的gitlab日常操作
  2. python-上传文件的几种方式
  3. android mvp简书,Android_MVP学习
  4. android 之 Hnadler 、Message 、Looper
  5. linux下安装DB2的详细步骤
  6. 自动驾驶芯片_自动驾驶芯片“争夺战”
  7. 【计算机组成原理】总线
  8. lua运行外部程序_Lua 协同程序(coroutine)
  9. android开源数据库,Android Hawk数据库 github开源项目
  10. 爬虫的步骤解析内容xpath介绍_Xpath的基本方法和使用详解 Python爬虫中最好用解析库...
  11. JMF实现对USB视频数据捕捉和应用
  12. 最新高通平台驱动开发参考文档
  13. java数组循环动态赋值_Java数组
  14. 《理财市场情绪监测系统》代码实现【1】之行业词库
  15. 51单片机8位数码管时钟c语言,基于c51单片机8位数码管显示电子时钟程序
  16. 【渝粤教育】广东开放大学 法律职业伦理 形成性考核 (40)
  17. VMware安装MacOS系统苹果虚拟机
  18. 发展你的GDS的应用技术
  19. Vue中watch监听路由的使用场景
  20. python(十二)Uiautomator2搭建UI自动化框架实战

热门文章

  1. 关于微信里wx.getUserInfo获取用户信息都是拼音的转成中文方法
  2. sourceTree git 空目录从远程仓库克隆代码出现warning: templates not found
  3. ERP演义-2003年中国ERP市场点评·上
  4. Amazon MWS的SDK包
  5. Error response from daemon: error while removing network: has active endpoints
  6. css字体大小兼容性问题
  7. method ‘void android.widget.Spinner.setAdapter(android.widget.SpinnerAdapter)‘ on a null object refe
  8. 如何在Excel中更改工作表选项卡的颜色
  9. uni-app/mpvue插件大赛圆满落幕,来看看获奖的几十个优秀插件吧
  10. 2019年7月中国奶业经济月报