一、安装apache 1)安装apache yum install -y httpd 2)启动apache服务 systemctl start httpd 3)查看服务状态(验证服务是否启动) systemctl status httpd (状态为active runging是启动)netstat ...
分类:
Web程序 时间:
2020-11-20 12:04:08
阅读次数:
21
RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /in ...
分类:
Web程序 时间:
2020-11-20 12:03:49
阅读次数:
15
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-11-20 12:00:39
阅读次数:
9
一、导入jar包: 并导入数据库连接jar包: 下载 pool.jar一定要下载1.x版本,亲测2.xxx版本会出现报错:Failed to introspect bean class [org.apache.commons.dbcp.BasicDataSource] for lookup meth ...
分类:
编程语言 时间:
2020-11-20 11:53:08
阅读次数:
7
下面是测试结果,只列出报错了的测试: 1、org.apache.catalina.LifecycleException: A child container failed during start 缺少:cxf-core-3.0.4.jar(最核心的包,不多说) 2、java.lang.ClassN ...
分类:
编程语言 时间:
2020-11-20 11:49:07
阅读次数:
7
漫画:什么是字典序算法?点击上方“程序员小灰”,选择“置顶公众号”有趣有内涵的文章第一时间送达!—————第二天—————算法题目:给定一个正整数,实现一个方法来求出离该整数最近的大于自身的“换位数”。什么是换位数呢?就是把一个整数各个数位的数字进行全排列,从而得到新的整数。例如53241和23541。小灰也不知道这种经过换位的整数应该如何称呼,所以姑且称其为“换位数”。题目要求写一个方法来寻找最
分类:
编程语言 时间:
2020-11-20 11:21:39
阅读次数:
5
detach() 分离线程,将对象表示的线程与调用线程分离,允许它们彼此独立地执行。不以任何方式阻止或同步。请注意,当其中一个执行结束时其资源将被释放。调用此函数后,线程对象将变得不可连接 ,并且可以安全地销毁。 join() 连接线程,当线程执行完成时该函数返回。此函数将阻止调用该函数的线程的执行 ...
分类:
编程语言 时间:
2020-11-19 12:49:00
阅读次数:
11
1.在项目springcloud下,新建微服务product-data-service 2.修改pom.xml文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche ...
分类:
编程语言 时间:
2020-11-19 12:04:49
阅读次数:
7
Caused by: org.aspectj.apache.bcel.classfile.ClassFormatException: File: 'java.lang.CharSequence': Invalid byte tag in constant pool: 18 at org.aspect ...
分类:
编程语言 时间:
2020-11-18 12:29:42
阅读次数:
5
编译Ranger源码首先准备好Java和Maven环境:[root@hadoop01~]#java-versionjavaversion"1.8.0_261"Java(TM)SERuntimeEnvironment(build1.8.0_261-b12)JavaHotSpot(TM)64-BitServerVM(build25.261-b12,mixedmode)[root@hadoop01~]#
分类:
Web程序 时间:
2020-11-18 12:13:58
阅读次数:
19