- Java 小码农 发表时间:2021-01-16 19:24:45
web应用中webapp. root重用问题解决方案
启动服务的时候报错。 java.lang.illegalstateexception: web app root system property already set to different value: 'webapp.root' = [e:\project] - choose unique values for the 'webapprootkey'..
44
0
- 数据库 小码农 发表时间:2020-09-22 11:45:16
数据库连接池内存泄漏问题的分析和解决方案
https://www.cnblogs.com/jay-huaxiao/p/12823368.html..
243
0
- 小程序 小码农 发表时间:2020-09-21 13:46:52
2800套精品小程序源码
2800套精品小程序源码 百度:https://pan.baidu.com/s/1m129_h4sdzk3cbrnswffdq 提取码:bsl2 200多套小程序源码后台+前端 链接:https://pan.baidu.com/s/1wzxltid0gjdfrngmjemxiw 提取码:4dka..
220
0
- Java 小码农 发表时间:2020-09-19 09:10:34
Tomcat9 SSL配置
80端口服务转向443 <connector port="80" protocol="http/1.1" connectiontimeout="20000" redirectport="443" /> 修改以下部分 <connector port="443" protocol="org.apache.coyote.http11..
98
0
- 服务端 程序猿 发表时间:2020-09-18 11:09:34
免费申请HTTPS证书六大方法
1、阿里云 推荐指数:★★☆☆☆ 免费证书类型:dv 域名型 免费证书品牌:digicert(原赛门铁克(symantec)) 免费通配符证书:不支持 易操作性:简单 证书有效期: 1年 自动更新:不支持 自动部署: 不支持 优点:有效期长 阿里云仅提供免费的单域名https证书,如果你仅只需要一个单域名的证书,可以使用阿里云的免费证书,毕竟digicert..
98
0
- 小程序 小码农 发表时间:2020-09-17 14:21:11
微信小程序开发全套教程
链接:https://pan.baidu.com/s/1vxbbwq02ughc-vaandu5bq 提取码:ed53..
106
0
- 数据库 程序猿 发表时间:2020-09-14 15:37:31
HikariCP连接池(无框架)
package cn.com.muzili.sm.core.common; import java.io.file; import java.net.url; import java.sql.connection; import java.sql.sqlexception; import java.util.hashmap; import java.util..
150
0
- 数据库 小码农 发表时间:2020-09-13 18:44:53
MYSQL查询今天、昨天、7天前、30天、本月数据
今天: select * from 表名 where to_days( 时间字段名) = to_days(now()); 昨天: select * from 表名 where to_days( now( ) ) - to_days( 时间字段名) <= 1; 7天前: select * from 表名 where date_sub(curdate(..
107
0
- Java 小码农 发表时间:2020-09-13 18:44:31 最新回复:2020-09-13 19:59:32
Java获取当前类名的两种方法
【适用于非静态方法】 this.getclass().getname() 【适用于静态方法】 //获取类名 thread.currentthread().getstacktrace()[1].getclassname() //获取方法名 thread.currentthread().getstacktrace()[1].getmethodname(); /..
99
2
- 数据库 小码农 发表时间:2020-09-13 18:44:11
MyBatis一次执行多条SQL语句
有个常见的场景: 删除用户的时候需要先删除用户的外键关联数据,否则会触发规则报错。 解决办法不外乎有三个: 1、多条sql分批执行; 2、存储过程或函数调用; 3、sql批量执行。 今天我要说的是mybatis中如何一次执行多条语句(使用mysql数据库)。 1、修改数据库连接参数加上allowmultiqueries=true,如: hikaricon..
101
0
- Linux 小码农 发表时间:2020-09-13 18:43:51
本地文件夹(/usr/local)mount到另一个文件夹
mount --bind /usr/local /usr/local/apache-tomcat-7.0.86/webapps/lnmp/templates/default/img/local..
90
0
- 数据库 小码农 发表时间:2020-09-13 18:43:28
Oracle返回任意一条记录
oracle返回任意一条记录 select * from (select * from tb_test order by dbms_random.value) where rownum = 1;..
90
0
- 服务端 小码农 发表时间:2020-09-13 18:43:06
Tomcat下载地址
tomcat下载地址 https://archive.apache.org/dist/tomcat/ tcnative-1.dll 各个版本的下载地址 http://archive.apache.org/dist/tomcat/tomcat-connectors/native/..
99
0
- 系统运维 小码农 发表时间:2020-09-13 18:42:14
图片在线处理工具
在线上传图片识别图片的主要颜色值 https://www.sojson.com/web/img.html 在线生成透明ico图标 http://ico.duduxuexi.com/ 在线对图片进行透明圆角处理 http://yj.duduxuexi.com/ 在线图片去底工具(背景透明) http://www.aigei.com/bgremover/ ..
95
0
- Linux 小码农 发表时间:2020-09-13 18:39:26
linux上安装mysql5.7
1、下载tar包,这里使用wget从官网下载 https://dev.mysql.com/get/downloads/mysql-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz 2、将mysql安装到/usr/local/mysql下 # 解压 tar -xvf mysql-5.7.22-linux-glibc..
102
0
- Java 小码农 发表时间:2020-09-13 18:37:59
DBUtils使用详细示例
dbutils 使用方便,上手很快,是个不错的选择。 直接上代码: 【使用示例】 import java.sql.connection; import java.sql.sqlexception; import java.util.iterator; import java.util.list; import java.util.map; import ja..
96
0
- 数据库 小码农 发表时间:2020-09-13 18:37:25
ORACLE分组后取每组第一条数据
select * from (select row_number() over(partition by m,n order by y desc) rn, test1.* from test1) where rn = 1; 按照 m,n 进行分组,y降序排序,取分组第一条数据。..
123
0
- Linux 小码农 发表时间:2020-09-13 18:36:55
LINUX 系统配置查看
linux cpu cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical id" 内存大小 cat /proc/meminfo |grep memtotal 硬盘大小 fdisk -l |grep disk..
109
0
- 数据库 程序猿 发表时间:2020-09-13 18:35:36
dblink的创建
drop public database link testdblink; create public database link testdblink connect to testdb identified by testdb using '(description = (address_list = (address = (protocol = tcp..
111
0
- Linux 程序猿 发表时间:2020-09-13 18:34:54
Linux 压缩 解压缩
#压缩 解压缩 tar -czvf ***.tar.gz *** tar -xzvf ***.tar.gz *** tar -cjvf ***.tar.bz2 *** tar -xjvf ***.tar.bz2 ***..
95
0
- 数据库 程序猿 发表时间:2020-09-13 18:34:13
ORACLE 字符串 转日期
to_date(t.curr_date || lpad(t.curr_time, 6, 0 ), 'yyyy-mm-dd hh24:mi:ss'), select to_char(sysdate,'yyyy"年"mm"月"dd"日" hh"时"mi"分"ss"秒"') from dual oracle timestamp与字符串转换 select to_..
88
0
- 服务端 程序猿 发表时间:2020-09-13 18:33:42
Eclipse去除jquery引入错误
eclipse去除jquery引入错误 之前在写java项目时,总是出现引入jquery报错,虽然对其方法的应用没有什么影响,但是感觉难受,经过百度得到解决的方法: 第一步: 去除eclipse的js验证: 将windows->preference->java script->validator->errors/warnings-&..
105
0
- 服务端 程序猿 发表时间:2020-09-13 18:33:14
Dubbo cvc-complex-type.2.4.c
错误:cvc-complex-type.2.4.c: the matching wildcard is strict, but no declaration can be found for element 'dubbo:application'. 这种错误的原因就是某个标签没找到引用的具体配置文件。 spring解析到你有一个dubbo定义的标签的..
101
0
- 数据库 程序猿 发表时间:2020-09-13 18:32:43
Oracle用户创建及权限设置
权限: create session create table unlimited tablespace connect resource dba 例: #sqlplus /nolog sql> conn / as sysdba; sql>create user username identified by password sql> g..
98
0
- 前端 程序猿 发表时间:2020-09-13 18:32:15
jQuery页面加载初始化的3种方法
<%@ page language="java" contenttype="text/html; charset=utf-8" pageencoding="utf-8"%> <html> <head> <title></title> <script src="<%=request.get..
93
0
- 数据库 程序猿 发表时间:2020-09-13 18:31:40
oracle 递归查询,向上和向下遍历
--查询全部资源信息 select * from urm_class_info --向上遍历树,找到路径直到根节点,指定的是parentid select distinct classid,parentid,name from urm_class_info start with parentid = 'cmdb0000000000000017' conne..
107
0
- Linux 程序猿 发表时间:2020-09-13 18:31:12
Linux查看History记录加时间戳小技巧
vi /etc/profile export histtimeformat="%f %t `whoami` " :wq..
96
0
- 数据库 程序猿 发表时间:2020-09-13 18:30:25
修改oracle字符集
将数据库启动到restricted模式下做字符集更改: 代码如下: sql>conn /as sysdba sql>shutdown immediate; sql>startup mount sql>alter system enable restricted session; sql>alter system set ..
106
0
- Java 程序猿 发表时间:2020-09-13 18:28:00
JAVA 字符串运算符直接运算
<pre class="prettyprint lang-bsh">import javax.script.scriptengine; import javax.script.scriptenginemanager; public class test { static scriptengine jse = new scriptengineman..
106
0