会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mr靳先生
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2020年7月29日
Springboot访问不了static文件夹的静态资源,配置拦截器出现“No mapping for GET“静态资源的情况
摘要: 可以在自己的MvcConfig下添加如下代码 private static final String[] CLASSPATH_RESOURCE_LOCATIONS = { "classpath:/META-INF/resources/", "classpath:/resources/", "clas
阅读全文
posted @ 2020-07-29 20:38 Mr靳先生
阅读(9373)
评论(0)
推荐(0)
2020年7月28日
linux 安装java8
摘要: 1. 执行:yum install java-1.8.0-openjdk.x86_64 2. 设置jdk环境变量: vim /etc/profile 在文件最后加入如下配置:(点击i 进入编辑模式) #set java environment JAVA_HOME=/usr/lib/jvm/jre-1
阅读全文
posted @ 2020-07-28 16:38 Mr靳先生
阅读(945)
评论(0)
推荐(0)
centos8 网络配置
摘要: 1. cd /etc/sysconfig/network-scripts 2.ls -a -l 在/etc/sysconfig/network-scripts目录下存放着网卡的配置文件,文件名称是ifcfg- 网卡名称。 3.vim ifcfg-ens33 4.设置网络时首先打开配置文件,配置文件默
阅读全文
posted @ 2020-07-28 11:46 Mr靳先生
阅读(1720)
评论(0)
推荐(0)
centos8重置root密码
摘要: 1.开启centos8,进入启动页面 2.按’e’进入编辑模式(edit select item) 3.ro改为 rw init=/sysroot/bin/bash 4.按Crtl+X启动 5.运行命令: ‘chroot/sysroot/’ (用chroot 命令把根目录切换到我们原来的环境中,也可
阅读全文
posted @ 2020-07-28 11:37 Mr靳先生
阅读(1525)
评论(0)
推荐(0)
2020年7月21日
Mysql查询某列最长字符串记录
摘要: select 字段, length(字段) from 表名 where length(字段) = ( select max(length(字段)) from 表名 )
阅读全文
posted @ 2020-07-21 10:47 Mr靳先生
阅读(1185)
评论(0)
推荐(0)
2020年7月20日
ssm连接mysql出现Connections could not be acquired from the underlying database 问题
摘要: 解决方案: 1.驱动配置有误:driver=com.mysql.jdbc.Driver 2.数据库连接地址有误:url=jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serv
阅读全文
posted @ 2020-07-20 15:23 Mr靳先生
阅读(452)
评论(0)
推荐(0)
2020年7月1日
spring-基于xml配置Bean
摘要: <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
阅读全文
posted @ 2020-07-01 21:18 Mr靳先生
阅读(161)
评论(0)
推荐(0)
2020年4月29日
WinForm控件命名缩写
摘要: 标准控件1 btn Button2 chk CheckBox3 ckl CheckedListBox4 cmb ComboBox5 dtp DateTimePicker6 lbl Label7 llb LinkLabel8 lst ListBox9 lvw ListView10 mtx Masked
阅读全文
posted @ 2020-04-29 10:50 Mr靳先生
阅读(470)
评论(0)
推荐(1)
2020年4月26日
SQL Server 将一张表的某个字段更新到另一张表中
摘要: update t1 set t1.BPTProductId=t2.BPTIdfrom Bas_ProductImageUrl t1join Bas_Products t2on t1.BPTBarCode=t2.BPTBarCode
阅读全文
posted @ 2020-04-26 17:43 Mr靳先生
阅读(3236)
评论(0)
推荐(0)
SQL Server 取出指定字符后字符串(用于分割)
摘要: select SUBSTRING( col, CHARINDEX('>', col)+1, LEN(col))from table
阅读全文
posted @ 2020-04-26 17:38 Mr靳先生
阅读(936)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告