最近自己写了一份代码签入到github,然后拉下来运行报下面的错误

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
-- ::02.246 ERROR --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : ***************************
APPLICATION FAILED TO START
*************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following:
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active). Process finished with exit code

调试了很久发现是配置文件没有生效,找到一篇文章(https://blog.csdn.net/ht_kasi/article/details/82259860)后来才发现根本原因

resouce文件夹失效 ,图标与正常的不一样

解决方法,右键resouces文件夹,设置为resouces root即恢复正常

最新文章

  1. jQuery实现动态分割
  2. PHP-Redis扩展使用手册(一)
  3. 从零开始学CSRF
  4. CSS3——动画效果
  5. Android之项目推荐使用的第三方库,有助于快速开发,欢迎各位网友补充
  6. weizmann数据库
  7. 【转】C#取硬盘、CPU、主板、网卡的序号 ManagementObjectSearcher
  8. why does angular js rock
  9. MVC & MVVM
  10. HTTP Error 500.21解决方案
  11. codeforces #310 div1 B
  12. QT事件
  13. IsPostBack and DropdownList.
  14. Nodejs in Visual Studio Code 09.企业网与CNPM
  15. 浅谈 qmake 之 shadow build(将源码路径和构建路径分开,一套源码要分别用msvc2008、msvc2008、mingw分别编译又不互相干扰)
  16. TCMalloc 安装与使用
  17. CodeM资格赛 Round A 最长树链
  18. goflyway简单使用
  19. 001.[python学习]写在前面的
  20. 基于fpga的vga学习(2)

热门文章

  1. 洛谷P2680 运输计划(倍增LCA + 树上差分 + 二分答案)
  2. xshell 连接报错 Disconnected from remote host
  3. Python学习笔记8 pip换源
  4. pyinstaller安装及使用
  5. browserslist详解
  6. 洛谷 P1508
  7. BootStrap Table 合并单元格
  8. C++ 重写虚函数的代码使用注意点+全部知识点+全部例子实现
  9. 删除list集合中某些数据
  10. idea从github导入maven项目