IDEA 警告 No archetype found in remote catalog. Defaulting to internal catalog 新建Maven项目,遇到警告: No archetype found in remote catalog. Defaulting to inter ...
分类:
其他好文 时间:
2021-02-18 13:05:15
阅读次数:
0
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> </includ ...
分类:
其他好文 时间:
2021-02-18 13:03:49
阅读次数:
0
一.导入坐标 <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId></dependency><dependency> <groupId>org ...
分类:
编程语言 时间:
2021-02-18 13:02:46
阅读次数:
0
本文摘自:https://mp.weixin.qq.com/s/IXYACeNFoXciTS5LskrrnA 前言 MyBatis可能很多人都一直在用,但是MyBatis的SQL执行流程可能并不是所有人都清楚了,那么既然进来了,通读本文你将收获如下: 1、Mapper接口和映射文件是如何进行绑定的 ...
分类:
其他好文 时间:
2021-02-18 12:59:40
阅读次数:
0
在springmvc.xml配置: <!-- 处理请求返回json字符串的乱码问题 --> <mvc:annotation-driven> <mvc:message-converters> <bean class="org.springframework.http.converter.StringH ...
分类:
编程语言 时间:
2021-02-18 12:59:23
阅读次数:
0
一:用idea 创建 springboot 项目: 详情请参考:《使用IDEA创建一个springboot项目》 二:具体代码内容; 一: FirstServlet 二:SecondServlet 三:SpringBootAddServletApplication 四:SpringBootAddSe ...
分类:
编程语言 时间:
2021-02-17 15:01:37
阅读次数:
0
resultMap: ResultMap 的设计思想是,对于简单的语句根本不需要配置显式的结果映射,而对于复杂一点的语句只需要描述它们的关系就行了。 <resultMap id="userResultMap" type="User"> <id property="id" column="user_i ...
分类:
其他好文 时间:
2021-02-17 14:55:08
阅读次数:
0
解决idea创建Maven项目时 No archetype found in remote catalog. Defaulting to internal catalog 下载archetype-catalog.xml下载地址:https://repo1.maven.org/maven2/arche ...
分类:
其他好文 时间:
2021-02-17 14:41:35
阅读次数:
0
第一步:创建Maven项目 在IDEA中创建一个maven项目:打开IDEA后,File--New--Project;选择maven,点击next 第二步:引入selenium框架/依赖 在pom.xml中添加依赖,接着点击右上角刷新按钮即可。 <dependencies> <dependency> ...
分类:
编程语言 时间:
2021-02-17 14:33:57
阅读次数:
0
什么是Jedis:是Redis官方推荐的Java连接开发工具!使用Java操作Redis的中间件(jar包)。如果你要使用Java操作Redis,那么一定要对Jedis十分熟悉! 1.用IDEA创建一个空项目 2.在空项目中创建一个空的Maven modeule。 3.创建空项目后要配置jdk 4. ...
分类:
其他好文 时间:
2021-02-16 12:47:57
阅读次数:
0