在idea中连接数据库时提示inStream parameter is null错误

网上说了一堆properties数据库配置文件没放在src下,该问题主要还是配置文件的放置问题,inStream parameter is null在老版本中是放在src下面,但是在新版本的IDEA里面不能直接放在src目录下面了,位置应该是src/main/resources里面,没有的话右键src new 一个即可。
在这里插入图片描述
这样就行了!
原文转自:https://blog.csdn.net/Eternity_years/article/details/120609771

猜你喜欢

转载自blog.csdn.net/inspireT/article/details/124377388