Invalid bean definition with name dataSourceExc defined in class path resource......

项目某天重新启动时突然起不来了,报的类似下面的错(因为已经起来了没来得及保存错误图片,网上找了个类似的错误)
Invalid bean definition with name ‘dataSourceExc’ defined in class path resource [spring-hibernate.xml]: Could not resolve placeholder ‘jdbc_url_exc’ in string value " ${jdbc_url_exc}" nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder ‘jdbc_url_exc’ in string value “${jdbc_url_exc}”

之前项目启动好好的啊,也没报错啊,没记得修改配置文件怎么会报这种错呢???百思不得其解==
网上各种搜,还是没解决。
最后你猜我怎么解决了。。。删掉了target文件,重新编译了一下,竟然起来了==
总结:开发中总能遇到谜一样的问题,只能谜一样地解决了,hahaha~

猜你喜欢

转载自blog.csdn.net/qq_29163727/article/details/106755947