- 博客(12)
- 资源 (3)
- 收藏
- 关注
原创 Gradle/Maven编译时找不到com.sun包的原因与解决方法
错误: 程序包com.sun.xml.internal.bind.marshaller不存在import com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper;public static class PreferredMapper extends NamespacePrefixMapper { @Override public String getPreferredPrefix(String arg0,
2022-02-23 16:21:27
2014
原创 如何在Java spring rest 返回一个数组对象,而不是字符串;
public class ResponseByteArray { private String fileName; private byte[] file; public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } public byte[.
2021-12-11 15:56:33
1036
原创 keepalived 报错 OpenSSL is not properly installed on your system
错误代码如下!!! OpenSSL is not properly installed on your system. !!! !!! Can not include OpenSSL headers files.如果能联网直接安装yum install openssl openssl-devel楼主机器不能联网只能https://www.openssl.org/下载openssl-1.0.1j.tar.gz源码包(版本可以自行选择)但是源码包安装openssl...
2021-09-09 20:03:30
5566
原创 layui select动态添加option
layui select动态添加optionlayui.use(['form', 'layedit', 'laydate'], function () { // layui.code(); var $ = layui.jquery, form = layui.form , layer = layui.layer , layedit = layui.layedit , laydate = layui.laydate;$.g...
2021-04-22 11:19:56
963
翻译 Zookeeper查看工具 ZooInspector
Zookeeper查看工具 ZooInspector网上大多是这个版本1、ZooInspector下载地址https://issues.apache.org/jira/secure/attachment/12436620/ZooInspector.zip2、解压压缩包3、命令行运行java -jar ZooInspector\build\zookeeper-dev-ZooInspector.jar但是我下载完jar运行是有错误的所以找到GitHub上的版本https://..
2021-04-14 16:15:17
420
翻译 maven缺少依赖包,强制更新命令
maven缺少依赖包,强制更新命令mvn clean install -e -U-e详细异常,-U强制更新If your local repository is somehow mucked up for release jars as opposed to snapshots (-U and --update-snapshots only update snapshots), you can purge the local repo using the following: ...
2021-04-13 16:28:10
939
原创 2021-01-28
ERROR 1238 (HY000): Variable 'lower_case_table_names' is a read only variablemysql5.1.73 修改数据库表名,不区分大小写;进入mysql命令行模式执行setglobal lower_case_table_names=1,但是错误如下; 1 2 root@localhost [(none)]>setglobal lower_case_table_names=1; ..
2021-01-28 19:55:49
4391
原创 linux GCC 生成so文件 makefile 编写 Windows代码移植
#elif defined(_WIN32) || defined(WIN32) || defined(WIN32)#ifdef _WIN32#include <windows.h>#include <winioctl.h>#else#include <fcntl.h>#include <errno.h>#include <unistd.h>#include <sys/ioctl.h>#endif实例OUTPUTFI
2020-12-14 17:08:50
302
原创 ubuntu-18.04 设置开机启动脚本,环境变量执行顺序
具体参见http://www.r9it.com/20180613/ubuntu-18.04-auto-start.html这样操作玩一般就没有问题了,/etc/rc.local可以被执行,但是该脚本在执行时不能读取通过/etc/profile或者~/.bashrc等方式配置的环境变量,说明systemctl早于/etc/profile或者~/.bashrc等脚本的执行;比如楼主实在开机启动...
2020-03-11 15:21:27
1723
原创 ThinkPad T440p Ubuntu 18.04 没声音
ThinkPad T440p Ubuntu 18.04 没声音这是解决后的截图,解决之前所以黄色能拖动的进度条什么的都是灰色不能点;解决方案参考 https://superuser.com/questions/1412907/audio-and-soundcard-issues-in-arch-like-system上面的链接说了楼主的问题 已经一条解决方案为:It turn...
2019-08-14 11:28:34
1215
java.lang.ClassNotFoundException错误总结
在myeclipse自带的tomcat中加载一个web工程,启动tomcat出现java.lang.ClassNotFoundException: ………………错误。问题解决1)一般出现这种错误有可能是忘记引入相应的jar包。查找相应的jar包导入即可。2)classpath中已经有了相应的jar包 但还是java.lang.ClassNotFoundException 这时看一下
2015-09-17 14:51:08
141
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人