logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Closeable接口优雅方便的自动关闭资源

Closeable接口继承于AutoCloseable,主要的作用就是自动的关闭资源,其中close()方法是关闭流并且释放与其相关的任何方法,如果流已被关闭,那么调用此方法没有效果,像InputStream和OutputStream类都实现了该接口,源码如下/** Copyright (c) 2003, 2013, Oracle and/or its affiliates...

关于SpringBoot报错:Failed to configure a DataSource: 'url' attribute is not specified and no embedded

SpringBoot集成Mybatis等可能会报错如下:***************************APPLICATION FAILED TO START***************************Description:Failed to configure a DataSource: 'url' attribute is not specified a...

到底了