IDEA
清风暖云
不甘平庸而又害怕努力的人终将归于平庸!
展开
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
此错误的原因是,Idea 没有指定 resource 目录,导致启动时没读取到resource内的配置文件,指定resource目录的方法:右击 resource 文件夹 -> Mark Directory as ->Sources Root,如下图所示操作:原创 2021-03-31 11:50:26 · 258 阅读 · 0 评论 -
Merge branch ‘master‘ of
Merge branch ‘master’ of刚创建了一个GIT项目,然后通过IDEA提交时发现了这个问题,当时咱也不懂,也没遇见过,结果在网上一查,好嘛!一堆解决办法,比如说用 git bush here 等一系列操作,但是对我来说没什么用,命令运行有问题,最后突然想到,是不是因为没更新项目然后直接提交导致的,因为自己的 GIT 项目是新建的,习惯性的在 github 上创建时加了 readme 的文件,然后尝试了一下,先从GitHub上拉取更新了本地的,然后在提交,果然就好了。...原创 2021-03-16 11:12:30 · 602 阅读 · 0 评论 -
Spring Boot项目搭建(1) —— 开发工具及其项目创建
”Spring Boot项目搭建“记录了本人自学Spring Boot框架的一系列笔记,从开发工具的选择到项目、业务的正常运行。原创 2020-07-27 12:49:55 · 233 阅读 · 0 评论 -
解决IDEA : Could not autowire. No beans of ‘xxxx‘ type found
Could not autowire. No beans of 'xxxx' type found原创 2020-07-26 12:36:23 · 4591 阅读 · 0 评论 -
SLF4J: Class path contains multiple SLF4J bindings.
错误信息:日志:SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/X:/code/apache-maven-3.5.4/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found b原创 2020-07-24 15:57:35 · 455 阅读 · 0 评论 -
You must configure either the server or JDBC driver (via the serverTimezone configuration property)
错误日志:The server time zone value '�й���ʱ��' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to ut原创 2020-07-24 15:51:23 · 225 阅读 · 0 评论 -
idea Loading class `com.mysql.jdbc.Driver‘. This is deprecated. The new driver class is `com.mysql.c
idea Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver’. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.自己搭建Springboot 项目时报出了这样的错:原创 2020-07-24 15:46:40 · 518 阅读 · 2 评论 -
generatorConfig.xml 元素、结构详解
这个代码是我在网上无意中查到的,忘记了是哪里的了,觉得很不错,但是东西太多一下消化不完,所以记录下来,王真正的作者看到不要介意!generatorConfig.xml 作用 :是 mybatis-generator-maven-plugin插件的配置文件,配置该插件,用于连接数据库自动生成mybatis需要的代码文件、XML文件整体元素、结构详解 : <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE generatorConfi原创 2020-07-22 17:47:53 · 1272 阅读 · 0 评论 -
URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
IDEA中配置spring出现URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)的错误,如下图:在上网找到解决办法很简单,既然报错说这个url未被注册,那我们给他注册一下就好了,方法很简单,操作如下:1、复制上图中的有问题的ur,并打开 idea 的 setting 设置面板;2、找到Schemas and DTDs(可以直接搜索这个功能名称),把复制的路径添加到 Ignored sche原创 2020-07-21 11:02:02 · 3429 阅读 · 0 评论 -
java was started but returned exit code=13简便解决办法
java was started but returned exit code=13简便解决办法始破始当我通过电脑通知进行更新了Java后再打开我的eclipse时就会报这个错误,原因在网上查了一下,说是第三方更新JRE时安装的是32位的JRE,与64位的eclipse不匹配(报错信息的–launcher.library中有x86_64说明这个eclipse是64位的);破JDK8/JRE8在安装完成之后,会添加一个环境变量C:\ProgramData\Oracle\Java\javapath,原创 2020-06-28 17:58:40 · 1355 阅读 · 0 评论 -
IDEA手动编译 --- 无法自动编译问题
IDEA手动编译 --- 无法自动编译问题方法一方法二方法三成功后《END》刚开始使用idea时总会遇到各种问题,比如说项目无法被自动编译;方法一使用Build中的三项,这是对整个项目的编译,可能比较慢!方法二通过右击选择模块进行编译,这种方法比较快,只编译选中的模块!方法三这是我解决问题时使用并且成功的方法,适用于maven项目的编译!在Maven Project工具...原创 2019-05-29 11:27:43 · 1287 阅读 · 0 评论