https://www.bilibili.com/video/BV12J411M7Sj 监听器开发步骤 实现监听器接口,重写方法 package com.qing.listener; import javax.servlet.ServletContext; import javax.servlet. ...
分类:
其他好文 时间:
2021-04-13 11:54:43
阅读次数:
0
springboot常用注解 1. @SpringBootApplication 这个注解是 Spring Boot 项目的基石,创建 SpringBoot 项目之后会默认在主类加上。 @SpringBootApplication看作是 @Configuration、@EnableAutoConfi ...
分类:
编程语言 时间:
2021-04-12 12:19:37
阅读次数:
0
1. pom.xml Maven依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-mongodb</artifactId> </dependency> 2. ...
分类:
数据库 时间:
2021-04-10 13:33:58
阅读次数:
0
问题描述:在用IDEA导入项目时,项目中的SpringBoot注解都无法识别,但SpringBoot的包已经导入 解决方案: 将项目文件把.idea文件夹和.iml文件都删了,重新引入; 打开项目时直接open,不需要import; 重新打开项目后需要再次导入maven中添加的依赖。 原文链接:ht ...
分类:
编程语言 时间:
2021-04-10 13:06:23
阅读次数:
0
环境: jar包部署,修改一个sql种的某个字段, 一。利用xhell命令,把线上jia包下载。 Xshell 想在windows和linux上传或下载某个文件,其实有个很简单的方法就是rz,sz。 首先你的Linux上需要安装安装lrzsz工具包,(如果没有安装请执行以下命令,安装完的请跳过) y ...
分类:
编程语言 时间:
2021-04-10 13:02:14
阅读次数:
0
1、什么是Spring Boot? 多年来,随着新功能的增加,spring变得越来越复杂。只需访问https://spring.io/projects页面,我们就会看到可以在我们的应用程序中使用的所有Spring项目的不同功能。 如果必须启动一个新的Spring项目,我们必须添加构建路径或添加Mav ...
分类:
编程语言 时间:
2021-04-10 12:56:17
阅读次数:
0
1.基础(SpringMVC和SpringBoot都有在用) @Controller 通常用于标注在控制层类上。 @Service 通常用于标注在业务层实现类上。可以设置自定义service类的别名,在控制层引入时就需要根据设置的别名进行引入。 @Mapper 不需要在启动类上配置扫描,会在运行时通 ...
分类:
编程语言 时间:
2021-04-09 13:04:25
阅读次数:
0
多模块,在使用mybatis-plus时,找不到其他模块的xml 报org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) 错误 发现target下mapper包中的xml文件夹没有被编译,在父工 ...
分类:
编程语言 时间:
2021-04-09 12:59:31
阅读次数:
0
一、spring boot核心 配置在类路径下autoconfigure下(多瞅瞅) @SpringBootApplication里的重要注解(@Configuration,@EnableAutoConfiguration,@ComponentScan三个注解的组合。) @ComponentScan ...
分类:
编程语言 时间:
2021-04-08 14:09:17
阅读次数:
0
cookie登录案例 package com.levizhao.cookie; import javax.servlet.*; import javax.servlet.http.*; import javax.servlet.annotation.*; import javax.xml.crypt ...
分类:
其他好文 时间:
2021-04-08 13:51:09
阅读次数:
0