spring-boot BUG 集锦
2024-10-07 12:56:46
BUG1: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
BUG2:使用lombok却无法找到log符号,注解@Slf4j无法使用log
1 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).
解决办法:在启动类中加入@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
或在application.prpperties中加入数据库配置
2 使用lombok却无法找到log符号,注解@Slf4j无法使用log
解决办法:idea中 Settings --> Build,Excution,Deployment-->Compiler-->Annotation Processor 到了这一步勾选上: Enable annotation processing
最新文章
- rcnn学习(六):imdb.py学习
- 深入浅出Mybatis系列(二)---配置简介(mybatis源码篇)
- PHP类和对象等代码说明
- CMMI能搭救企业吗?
- BZOJ3692 : 愚蠢的算法
- 解决中64位Win7系统上PLSQL无法连接ORACLE的方法(PLSQL无法识别ORACLE_HOME的配置)
- bzoj4642: 泡泡
- Sharepoint 2010 RBS 的安装和配置
- grappelli美化django的admin页面
- Ceph Newstore存储引擎介绍
- Sublime_text3怎么发现PHP语法错误?
- WPF Binding
- [转]notifyDataSetChanged() 动态更新ListView
- C/C++常用编辑器
- C# DataRow[]转换DataTable
- [原创]一种基于Python爬虫和Lucene检索的垂直搜索引擎的实现方法介绍
- docker搭建zabbix
- A computer hardware platform abstraction - part.1
- USACO Section 2.1 The Castle
- 使用Ratpack与Spring Boot构建高性能JVM微服务