springboot status http code

python Compile failed: command '/usr/bin/clang' failed with exit code 1 解决办法

一、升级pip pip3 install --upgrade pip 然后,更新设置工具: python3 -m pip install --upgrade setuptools ......
failed Compile command 办法 python

多模块springboot项目打jar包 没有主清单属性

说明:一个多模块的项目 两个子Module 一个core 一个server。java8的环境 | -- XChome (pom.xml xchome的 父级) --|--xc-core (pom.xml xc-core的 子级) --|--xc-server (pom.xml xc-server的 ......
springboot 清单 模块 属性 项目

SpringBoot部署的jar包瘦身

pom文件打包插件更换 参考连接:https://www.jb51.net/program/293676eog.htm 参考连接:https://blog.csdn.net/meng_9543/article/details/121329834 <build> <finalName>xxx-xxx< ......
SpringBoot jar

springboot学习日记(一)

今天连下数据库,不小心打成netstart mysql了,好糗。。以后等时机到了笔记也该换成markdown写了,好久没写md后面得复习下。 然后idea这边连数据库很简单不用写专门的程序,右侧栏database直接可以点开具体到连接某个数据库。 记录一下注解的原理和作用: 以前,『XML』是各大框 ......
springboot 日记

使用Springboot结合mybatis搭建最简单的操作mysql教程

废话不说,上代码 pom文件,如果是jdk1.8,请使用如下的SpringBoot版本号 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http ......
Springboot mybatis 教程 mysql

Springboot报错,java.lang.IllegalArgumentException: argument type mismatch

1、报错信息 java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.Native ......

典型的 HTTP 会话-响应示例(请求资源不存在的网页响应)

1 HTTP/1.1 404 Not Found 2 Content-Type: text/html; charset=utf-8 3 Content-Length: 38217 4 Connection: keep-alive 5 Cache-Control: no-cache, no-store ......
示例 典型 网页 资源 HTTP

典型的 HTTP 会话-响应示例

1 HTTP/1.1 200 OK 2 Content-Type: text/html; charset=utf-8 3 Content-Length: 55743 4 Connection: keep-alive 5 Cache-Control: s-maxage=300, public, max ......
示例 典型 HTTP

websocket和http区别

一、HTTP HTTP全称是“超文本传输协议”(Hypertext Transfer Protocol),是Web应用程序最为广泛使用的协议之一。它建立在TCP协议之上,通过请求-响应模式来传输数据。在HTTP中,客户端发送一个请求到服务器,服务器接收到请求后,返回相应的响应。这个过程通常涉及到以下 ......
websocket http

springboot2 @Mapper注解问题

@Mapper public interface DeptMapper { Dept getById(Integer id); } 问:这段代码是把这个接口注入到spring的bean容器当中去了,但是spring的bean容器不是存的实例化对象吗? 答: 在Spring框架中,将一个类(或接口)注 ......
注解 springboot2 springboot Mapper 问题

SpringBoot是如何保证服务启动后不自动停止的

一般项目执行后,当程序结束会自动关闭程序。但Springboot项目,启动后,只要不发生error错误,一般不会自动停止。 这是为什么呢? 简单Java阻止停止 为了保证一个服务能够持续有效地对外提供服务,一般会有相应的处理方式,比如: 服务器上的守护进程脚本 但是,在Java代码层面,除了shel ......
SpringBoot

Springboot使用@validation

<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> /** * @Validate默认是会全部校验的 * 在这里 ......
Springboot validation

第一次将Springboot项目上传到GitLab仓库(初始化)

步骤: 1、在GitLab上创建项目仓库(创建空项目) 创建完成如下: 2、在IDEA中新建一个Springboot项目 使用Git版本集成 这里说明一下: 1、本机计算机已经安装Git 2、IDEA已经集成了Git 3、这里使用的IDEA是2021版本(2018版本是VCS),IDEA中文菜单栏原 ......
Springboot 仓库 第一次 项目 GitLab

Springboot整合RabbitMQ---延迟队列

延迟队列插件地址:https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/tag/v3.12.0 下载后复制到D:\RabbitMQ Server\rabbitmq_server-3.10.5\plugins(路径 ......
队列 Springboot RabbitMQ

/proc/pids/status

/proc/279/status是一个Linux内核中的文件,其中包含了当前进程的状态信息。每行的含义如下: Name: 进程的名称,例如"java"或"bash"。 State: 进程的状态,例如"running"或"sleeping"。 Tgid: 进程组ID,即进程的ID号。 Pid: 进程的 ......
status proc pids

vs code 注释自定义颜色、高亮(使用better-comments插件)

一、下载安装扩展,扩展 -> 输入better-comments 搜索 -> 安装 二.此时的 .vue后缀 文件注释还未生效,需要修改.vscode配置 1.需要找到 aaron-bond.better-comments-3.0.2 -> out -> parser.js 修改全局配置文件 这里我 ......

"Go to Source" for Latex on VS Code does not seem to work

I recommend installing LaTeX Workshop instead of LaTeX Preview. Then use the following shortcuts for synctex (aka 'jumping' between code and pdf): fro ......
quot Source Latex Code does

No MyBatis mapper was found in ‘[SpringBoot启动类所在路径]‘ package 原因解析及解决方案

No MyBatis mapper was found in ‘[SpringBoot启动类所在路径]‘ package 原因解析及解决方案 No MyBatis mapper was found in '[XXX]' package 友情提示:搜到这篇文章的,一般是急于解决这个问题的,看下常见原因 ......
SpringBoot 路径 所在 解决方案 原因

表碎片整理时shrink和move如何选择 --高水位回收 转:http://blog.itpub.net/29821678/viewspace-1270131

整理表碎片通常的方法是move表,当然move是不能在线进行的,而且move后相应的索引也会失效,oracle针对上述不足,在10g时加入了shrink,那这个方法能不能在生产中使用呢? shrink的一个优点是能在线进行,不影响表上的DML操作,当然,并发的DML操作在shrink结束的时刻会出现 ......
水位 碎片 viewspace 29821678 1270131

备份下启动springboot项目脚本文件 start.sh

1.将jar包放到和该脚本同级目录 2.记得chmod 777 ./start.sh 赋予执行权限 3.执行./start.sh文件即可 4.重启也可以直接执行此文件 5.如果没有打包配置文件可以在此脚本同级目录创建config目录将yml/properties配置文件放进去 . #!/bin/ba ......
脚本 springboot 备份 文件 项目

记录一次springboot开启远程调试的问题

springboot远程连接报错如下 Error running 'remote': Unable to open debugger port (10.100.10.54:18082): java.net.ConnectException "Connection refused: connect" ......
springboot 问题

http和https的区别

http协议:超文本传输协议 客户端的浏览器首先要通过网络与服务器建立连接,该连接是通过TCP来完成的,一般TCP连接的端口号是80, HTTP协议是以明文方式发送信息的,如果黑客截取了Web浏览器和服务器之间的传输报文,就可以直接获得其中的信息,所以不安全 https协议: 是以安全为目标的HTT ......
https http

springboot中部分数据的封装方法

//响应字符串格式数据 @RequestMapping("/hello") public Result hello(){ System.out.println("Hello World"); // return new Result(1,"success","Hello World"); retur ......
springboot 方法 数据

springboot的数据统一返回类Result

/** * 统一响应结果封装类 */ public class Result { private Integer code ;//1 成功 , 0 失败 private String msg; //提示信息 private Object data; //数据 date public Result() ......
springboot 数据 Result

springboot 使用请求成功了, 但是调用方接收到的是Not Found

1、明明接口是可以返回的,并且是可以断点到了。并且也正常返回了。 但是接口接收到的信息是 { "timestamp": 1699449213048, "status": 404, "error": "Not Found", "message": "No message available", "pa ......
springboot Found Not

springboot fatjar 启动时添加 classpath

我们在服务器上部署时,通常需要将配置文件外部化,常规的做法就是将配置文件的目录(比如: /data/server/conf)添加到 jvm 的 classpath 里面,这样,应用启动后就可以从 classpath 下读取到配置文件了。不同的打包方式(fatjar 和 非fatjar),在启动脚本中 ......
springboot classpath fatjar

springboot3.1.5+文件上传+文件下载

idea创建项目springbootdemo-download-upload 加上thymeleaf模板maven依赖 application.properties配置 # thymeleaf页面缓存设置(默认为true) spring.thymeleaf.cache=false # 单个上传文件大 ......

运行Springboot测试类查询数据库数据显示白网页

问题 运行Springboot测试类时,查询数据库里面数据显示如下白网页 程序报如下错误 解决方案 Spring Boot应用未能启动的原因是它没有找到合适的数据库配置具体来说,它需要一个数据源(DataSource),但未能在你的配置中找出,也没有找到任何嵌入式数据库(H2, HSQL 或 Der ......
数据 Springboot 数据库 网页

python发送http请求

py发送http请求 import requests requests模块模块中的http方法 r=requests.get() r=requests.post() r=requests.put() r=requests.delete() r=requests.head() r=requests.o ......
python http

springboot2 SpringBoot入门程序

运行SpringBoot程序通过运行Application程序入口进行 要想保证SpringBoot程序运行起来,主要需要俩文件: 1. pom.xml 2. Application类 @SpringBootApplicationpublic class Springboot01Applicatio ......
springboot2 springboot SpringBoot 程序