
JAVA
Mark0904
这个作者很懒,什么都没留下…
展开
-
Sources not found for: org.springframework:spring-aop:5.3.6
idea下载原码失败打开terminal执行以下mvn命令,等命令执行完,就可以下载原码了mvn dependency:resolve -Dclassifier=sources原创 2021-06-09 23:39:47 · 609 阅读 · 0 评论 -
URI is not registered (Settings | Languages & Frameworks | Schemas and DTDs)
idea下面这行报错xmlns:p="http://www.springframework.org/schema/p"原创 2021-06-06 17:49:38 · 263 阅读 · 0 评论 -
idea功能收藏 idea快捷键
【shift+ enter】idea鼠标跳转下一行,IDEA新建一行,并且光标移到新行原创 2021-06-06 11:35:04 · 167 阅读 · 0 评论 -
idea设置自动导入包 idea自动import
原创 2021-06-05 22:28:55 · 3781 阅读 · 1 评论 -
idea打开log文件 查看log文件
新增一个filetype新增一个 *.log如果有提示已经在text file type里面定义了,不用管。直接点确定。然后重新idea就可以了原创 2021-05-30 23:07:33 · 3055 阅读 · 2 评论 -
is not known to the MapperRegistry
org.apache.ibatis.binding.BindingException: Type interface com.zl.dao.UserMapper is not known to the MapperRegistry原创 2021-05-30 17:44:02 · 600 阅读 · 0 评论 -
maven导出配置文件,build中配置resources,防止资源导出失败问题
### Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/zl/dao/UserMapper.xml由于生成的target目录下没有导出对应的.xml。在pom.xml加以下配置,然后刷新maven<build> <resour原创 2021-05-26 01:45:17 · 147 阅读 · 0 评论 -
Java中&&和&的区别
Java中&&和&都是表示与的逻辑运算符,都表示逻辑运输符and&&有短路功能,当第一个表达式的值为false的时候,则不再计算第二个表达式;&则两个表达式都执行。&可以用作位运算符,当&两边的表达式不是Boolean类型的时候,&表示按位操作。public class HelloWorld { ...原创 2019-04-16 00:08:22 · 474 阅读 · 1 评论 -
JAVA语言基础 数据类型强制转换超范围
java int转byte型package helloWorld;public class helloWord { public static void main(String[] args) { byte b1 = (byte)300; byte b2 = (byte)130; System.out.println(b1); System.out.println(b...原创 2019-04-13 23:21:52 · 368 阅读 · 0 评论