E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
Springframework
Axios入门案例——后端学习
org.
springframework
.bootspring-boot-starter-weborg.projectlomboklomboktruecom.alibabafastjson1.2.83解决跨
翰戈.summer
·
2023-12-16 07:19
其他内容
后端
前端
axios
maven打包插件maven-jar-plugin与spring-boot-maven-plugin
几种打包插件介绍文章目录1.spring-boot-maven-plugin打包后效果2.maven-jar-plugin打包后效果️最后总结1.spring-boot-maven-pluginorg.
springframework
.bootspring-boot-maven-pluginspring-boot-maven-plugin
JavaNice哥
·
2023-12-16 07:56
maven
jar
java
SpringBoot+Netty+Websocket实现消息推送
添加依赖io.nettynetty-all4.1.36.Finalorg.
springframework
.bootspring-boot-starter-websocket定义netty端口号websocket
小小码农>>>>
·
2023-12-16 06:02
Springboot
spring
boot
websocket
后端
springboot动态修改定时任务
依赖org.
springframework
.bootspring-boot-starter-validation配置:printTime.cron=0/10****?
weixin_48965172
·
2023-12-16 05:21
spring
boot
java
spring
springboot修改请求头
方法一:Filter:importorg.
springframework
.util.StringUtils;importjavax.servlet.
weixin_48965172
·
2023-12-16 05:21
spring
boot
java
spring
redis使用延迟队列
pom文件org.
springframework
.bootspring-boot-starter-weborg.projectlomboklomboktrueorg.
springframework
.bootspring-boot-starter-testtestorg.redissonredisson-spring-boot-starter3.10.5cn.hutoolhutool-all5.8
weixin_48965172
·
2023-12-16 05:21
redis
java
spring
项目实战接口开发SpringBoot
一、springboot官方demo开发依赖包和父:pom.xmlorg.
springframework
.bootspring-boot-starter-parent2.7.14org.
springframework
.bootspring-boot-starter-web2.7.14
工业甲酰苯胺
·
2023-12-16 05:58
spring
boot
java
后端
mongodb之mongoTemplate基本操作
mongoTemplate基本操作前提:已安装好mongodb服务架构:springboot+mongodb1.引入依赖(二选一)//maven添加依赖org.
springframework
.bootspring-boot-starter-data-mongodb
修行者Java
·
2023-12-16 04:16
后端
mongodb
Spring Boot整合Mybatis进行CRUD
依赖org.
springframework
.bootspring-boot-starterorg.
springframework
.bootspring-boot-starter-weborg.
springframework
.bootspring-boot-starter-testtestmysqlmysql-connector-java5.1.39org.mybatis.spring.bootmy
朱芮林
·
2023-12-16 03:00
成功解决java.lang.ClassCastException: org.
springframework
.orm.jpa.EntityManagerHolder cannot be cast
偶然遇到一个报错:java.lang.ClassCastException:org.
springframework
.orm.jpa.EntityManagerHoldercannotbecasttoorg.
springframework
.orm.hibernate5
ThatMonth
·
2023-12-16 02:04
java
java
开发语言
成功解决InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushMod
偶然遇到一个报错:org.
springframework
.dao.InvalidDataAccessApiUsageException:Writeoperationsarenotallowedinread-onlymode
ThatMonth
·
2023-12-16 02:04
java
java
MinIO快速入门
springboot项目对应pom文件如下heima-leadnews-testcom.heima1.0-SNAPSHOT4.0.0minio-demo88io.miniominio7.1.0org.
springframework
.bootspring-boot-starter-weborg.
springframework
.bootspring-boot-starter-test2
上官阿坤
·
2023-12-16 00:43
java
Servlet should have a mapping
第一种可能:你就是没写ServletSpringMVCorg.
springframework
.web.servlet.DispatcherServletcontextConfigLocationclasspath
五敷有你
·
2023-12-16 00:00
maven
servlet
maven
SpringDataJpa 的JavaConfig配置
packagecom.kuang.config;importcom.alibaba.druid.pool.DruidDataSource;importcom.mysql.jdbc.Driver;importorg.
springframework
.context.annotation.Bean
荭色海湾
·
2023-12-16 00:18
hibernate
hibernate
SpringData JPA 搭建 xml的 配置方式
1.导入版本管理依赖到父项目里org.
springframework
.dataspring-data-bom2021.1.10importpom2.导入spring-data-jpa依赖在子模块junitjunit4.12testorg.hibernatehibernate-entitymanager5.4.32
荭色海湾
·
2023-12-15 23:06
hibernate
java
(企业 / 公司项目)SpringBoot实现雪花算法id注册功能
importorg.
springframework
.boot.SpringApplication;importorg.
springframework
.boot.autoconfigure.SpringBootApplication
努力的小周同学
·
2023-12-15 22:22
Java后端开发学习
java
spring
boot
intellij-idea
springboot整合vue,将vue项目整合到springboot项目中
第一步,使用springboot中的thymeleaf模板引擎导入依赖org.
springframework
.bootspring-boot-starter-thymeleaf在resources目录下建立
bug去哪了
·
2023-12-15 22:22
spring
boot
vue.js
java
Java构件技术
文章目录Java构件技术构件及其在信息系统项目中的重要性常见的Java构件技术和工具JavaBeansServletsEJB
SpringFramework
(Spring框架)OSGi(OpenServiceGatewayInitiative
Artisan_w
·
2023-12-15 21:27
架构
java
开发语言
二、
SpringFramework
介绍
本章概要Spring和
SpringFramework
概念
SpringFramework
主要功能模块
SpringFramework
主要优势2.1Spring和
SpringFramework
概念https:
一只小熊猫呀
·
2023-12-15 20:51
#
Spring
Framework
SpringFramework
Spring Boot实现接口幂等
SpringBoot实现接口幂等1、pom依赖4.0.0org.
springframework
.bootspring-boot-starter-parent2.5.6com.exampleidempotent_demo0.0.1
242030
·
2023-12-15 19:08
spring
boot
spring
boot
SpringBoot集成WebSocket
1)添加websocket的依赖org.
springframework
.bootspring-boot-starter-websocket2)添加websocket相关的配置@ConfigurationpublicclassWebsoketConfig
若鱼1919
·
2023-12-15 19:00
spring
boot
websocket
后端
redis 缓存注解
SpringBoot整合Redis(进阶)1.引入redisorg.
springframework
.bootspring-boot-starter-data-redisorg.apache.commonscommons-pool22
Summer2077
·
2023-12-15 19:38
第五章 SpringCloud Alibaba 实现Feign服务调用的负载均衡
Feign的使用在订单服务里面加入Fegin的依赖org.
springframework
.cloudsp
小小码农>>>>
·
2023-12-15 18:50
SpringCloud
Alibaba
spring
cloud
负载均衡
spring
org.
springframework
.jdbc.datasource.DriverManagerDataSource ORACLE11G
SLF4J:ClasspathcontainsmultipleSLF4Jbindings.SLF4J:Foundbindingin[jar:file:/E:/PRJ_J2EE/PrjFlexJava/WebContent/WEB-INF/lib/activemq-all-5.14.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]SLF4J:Foundb
spencer_tseng
·
2023-12-15 18:39
oracle
oracle
Maven 如何打包 Spring Boot 项目
请查看下面的代码:org.
springframework
.bootspring-boot-maven-plugin2.4.13repackage上面的代码在Package的时候将会把你的Spring项目打包成一个可以执行的
HoneyMoose
·
2023-12-15 17:54
CWIKIUS
java
spring Boot 整合 slf4j+log4j2 实现日志管理
第一步:maven依赖导入,springboot默认日志实现为logback,需要去除,不然会报错 org.
springframework
.boot spring-boot-starter-web
Leng丶
·
2023-12-15 17:12
springboot
log4j
spring
boot
java
springboot @Slf4j 配置日志
1.pom.xml配置org.projectlomboklombok${lombok.version}trueorg.
springframework
.bootspring-boot-starter-parent2.1.8
LaLaLa_OvO
·
2023-12-15 17:01
Java项目
spring
boot
java
后端
后端项目Swagger在线文档Cannot invoke “org.
springframework
.web.servlet.mvc.condition.PatternsRequestCondition
这边使用Knife4j框架配置类,配置生成在线文档,但是报错了:“Cannotinvokeorg.
springframework
.web.servlet.mvc.condition.Patterns
☆七年
·
2023-12-15 17:30
我的第一个后端项目
后端
swagger
在线文档生成
Knife4j框架使用
动态定时任务【闹钟】
SpringBoot实现动态往数据库中添加时间点,使程序在规定的时间点执行任务1.依赖引入配置文件org.
springframework
.bootspring-boot-starter-weborg.mybatis.spring.bootmybatis-spring-boot-starter1.3.2mysqlmysql-connector-java5.1.47server
胡萝卜★
·
2023-12-15 15:13
java
mybatis
spring
boot
DevOps搭建(九)-Jenkins实现基础CI、CD详细操作
devops-test创建一个最简单的Controllerimportorg.
springframework
.web.
Java高知社区
·
2023-12-15 13:35
devops
jenkins
运维
自动化部署
SpringBoot接口开发
一、springboot官方demo开发依赖包和父:pom.xmlorg.
springframework
.bootspring-boot-starter-parent2.7.14org.
springframework
.bootspring-boot-starter-web2.7.14
!chen
·
2023-12-15 13:00
技术分享
spring
boot
后端
java
Spring配置动态数据库
首先创建一个SpringWeb项目——dynamicdb(spring-boot2.5.7)然后引入相关依赖lombok、swagger2、mybatis-plus,如下:4.0.0org.
springframework
.bootspring-boot-starter-parent2.5.7com.exampledynamicdb0.0.1
!chen
·
2023-12-15 13:30
spring
数据库
java
二、SpringBoot快速入门、创建Maven工程
该工程为普通的java工程即可2.1.2添加SpringBoot的起步依赖SpringBoot要求,项目要继承SpringBoot的起步依赖spring-boot-starter-parentorg.
springframework
.bootspring-boot-starter-parent2.4.3SpringBo
LiRS2001
·
2023-12-15 13:43
springboot
SpringBoot快速入门
创建Maven工程
spring
boot
maven
后端
三、SpringBoot原理分析
点击pom.xml中的spring-boot-starter-parent,跳转到了spring-boot-starter-parent的pom.xml,xml配置如下(只摘抄了部分重点配置):org.
springframework
.bootspring-boot-dependencies2.0.1
LiRS2001
·
2023-12-15 13:12
spring
boot
java
spring
intellij-idea
Spring Boot监听redis过期的key
Redis支持过期监听,可以实现监听过期数据,实现过程如下1、pom依赖org.
springframework
.bootspring-boot-starter-data-redis2、配置类添加序列化及
Best_Liu~
·
2023-12-15 13:34
spring
boot
redis
java
六、SpringBoot整合Junit
5.2.1添加Junit的起步依赖org.
springframework
.bootspring-boot-starter-testtest5.2.2编写测试类packagecom.baijie.fast_springboot_project
LiRS2001
·
2023-12-15 13:01
spring
boot
junit
后端
服务器出现Cause: java.sql.SQLSyntaxErrorException: Table ‘ssmbulid.books‘ doesn‘t exist解决方法
项目的时候,出现这个问题登录的时候页面还可以正常显示但是前进或者后退的时候信息开始出错了出现了如下错误类型异常报告消息Requestprocessingfailed;nestedexceptionisorg.
springframework
.jdbc.BadSqlGrammarException
码农研究僧
·
2023-12-15 13:55
BUG
java
服务器
sql
一个完整的springboot项目所需要导入的依赖合集(方便查找)
一、springboot启动类依赖:org.
springframework
.bootspring-boot-starter二、springboot测试类依赖:org.
springframework
.bootspring-boot-starter-test
丷长玦遗墨
·
2023-12-15 12:09
spring
boot
后端
java
SpringBoot+Mybatis反向生成数据库表
MyBatisMapperScannerConfigpackagecom.lhh.config;importorg.mybatis.spring.mapper.MapperScannerConfigurer;importorg.
springframework
.boot.autoconfigure.AutoConfigureAfter
丷长玦遗墨
·
2023-12-15 12:09
数据库
mybatis
spring
boot
实用的jdbc连接clickhouse数据库,以及用阿里巴巴连接池管理连接
1.添加相关的maven依赖4.0.0org.
springframework
.bootspring-boot-starter-parent2.6.4com.exampleclickhouse0.0.1-
远方的风吹来了“遥遥领先”的声音
·
2023-12-15 12:06
clickhouse
数据库
spring boot使用mongodb
使用mongodb思路引入springbootmongodbjar包配置mongodb相关信息测试使用引入mongodbjar包在springbootdemo工程pom.xml文件中新增org.
springframework
.bootspring-boot-starter-data-mongodbmongodb
haishuiaa
·
2023-12-15 11:42
redis缓存切面
*;importorg.aspectj.lang.reflect.MethodSignature;importorg.
springframework
.context.annotat
stackcsdn
·
2023-12-15 11:43
redis
缓存
数据库
第三章 SpringBoot 如何进行依赖版本控制
spring-boot-starter-parentspring-boot-starter-parent是当前项目的父依赖org.
springframework
.bootspring-boot-starter-parent2.3.3
夜雨听丶风
·
2023-12-15 11:55
SpringBoot
spring
boot
java
springboot项目中的常用依赖
org.
springframework
.bootspring-boot-starterorg.
springframework
.bootspring-boot-starter-webcom.alibabafastjson1.2.7org.projectlomboklomboktruemysqlmysql-connector-java5.1.46com.baomidoumybatis-plus-boo
lmx226666
·
2023-12-15 11:49
spring
boot
SpringBoot整合SpringSecurity
一、准备相关工具类导入依赖org.
springframework
.bootspring-boot-starter-securityio.jsonwebtokenjjwtjavax.xml.bindjaxb-api2.3.0com.sun.xml.bindjaxb-impl2.3.0com.sun.xml.bindjaxb-core2.3.0javax.activationactivation1.1
程序猿Mr.Shaw
·
2023-12-15 11:17
security
springboot
SpringBoot 配置文件使用@ @取值
org.
springframework
.bootspring-boot-starter-actuator(2)引入了上述依赖后,在项目的application.yml文件里面进行如下配置,开启监控功能说明
太自由
·
2023-12-15 10:29
SpringBoot
spring
boot
java
spring
安全
elasticsearch和springboot对应版本
elasticsearch/reference/elasticsearch/versions.htmlSpringDataReleaseTrainSpringDataElasticsearchElasticsearch
SpringFramework
SpringBoot2023.1
Override笑看人生
·
2023-12-15 10:10
elasticsearch
spring
boot
【SpringBoot报错】org.
springframework
.context.ApplicationContextException: Failed to start bean ‘documen
报错信息:org.
springframework
.context.ApplicationContextException:Failedtostartbean'documentationPluginsBootstrapper
秋名山小白
·
2023-12-15 10:40
Springboot
spring
boot
后端
java
springboot - freemaker配置
pom依赖org.
springframework
.bootspring-boot-starter-freemarkerpropreties配置文件//设置编码spring.freemarker.charset
尼尔君
·
2023-12-15 07:44
【Spring】手写一个简易starter
步骤:(1)引入pom依赖:org.
springframework
.bootspring-boot-autoconfigureorg.
springframework
.bootspring-bo
Annancqxxx
·
2023-12-15 06:41
spring
java
后端
上一页
58
59
60
61
62
63
64
65
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他