摘要: 我的是 CentOS ,用 root 登陆 一、检查是否已安装过jdk yum list --installed|grep jdk 或者java -version看下能不能执行。 如果已安装过,但jdk版本不符合,可先卸载jdk 1、which java 查询下jdk的路径 2、rm -rf 删除文 阅读全文
posted @ 2021-08-04 21:59 小二丶一碗茶 阅读(47) 评论(0) 推荐(0)
摘要: 1、新版宝塔管理面板跳过强制绑定官方账户的方法 方法(1): a、临时的解决办法就是我们在URL目录中随便加入soft : http://141.xxx.xxx.146:8888/soft b、进入文件管理器页面。 然后在文件管理器中找到并编辑文件 /www/server/panel/BTPanel 阅读全文
posted @ 2020-12-18 10:52 小二丶一碗茶 阅读(1061) 评论(0) 推荐(0)
摘要: 最近维护一个外包做到项目,没有开发文档,用的是 dubbo + zookeeper + SpringMvc ,没有接触过前俩框架, idea 可以跑起来。。。可是按原来代码打成 war 在liunx去跑,怎么也跑不起来,,,总是什么 NoClassDefFoundError 之类的错误 ,,, 搞了 阅读全文
posted @ 2020-11-20 14:32 小二丶一碗茶 阅读(346) 评论(0) 推荐(0)
摘要: 在 tomcat安装目录下 conf 修改 server.xml 文件( tomcat - conf - server.xml ) 在 </Service> 后添加 <Service name="Catalina1"> <!--名称 --> <!-- psot:该服务的访问端口 --> <Conne 阅读全文
posted @ 2020-11-20 14:12 小二丶一碗茶 阅读(311) 评论(0) 推荐(0)
摘要: server { listen 80; server_name www.baidu.com; location / { proxy_pass http://127.0.0.1:8081; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_ 阅读全文
posted @ 2020-11-20 13:40 小二丶一碗茶 阅读(134) 评论(0) 推荐(0)
摘要: CronScheduleBuilder :使用corn 表达式 (定时循环) CronScheduleBuilder builder = CronScheduleBuilder.cronSchedule("*/5 * * * * ?"); SimpleScheduleBuilder:每隔一段时间执行 阅读全文
posted @ 2020-10-10 17:29 小二丶一碗茶 阅读(4765) 评论(1) 推荐(0)
摘要: 给 cnpm 添加环境变量 把上面这个字段,添加到 环境变量中:https://www.cnblogs.com/lzb-it/p/13776120.html 阅读全文
posted @ 2020-10-07 01:21 小二丶一碗茶 阅读(2130) 评论(0) 推荐(0)
摘要: 1、Mac系统下的环境变量: a. /etc/profile b. /etc/paths c. ~/.bash_profile d. ~/.bash_login e. ~/.profile f. ~/.bashrc 其中a和b是系统级别的,系统启动就会加载,其余是用户接别的。c,d,e按照从前往后的 阅读全文
posted @ 2020-10-07 01:13 小二丶一碗茶 阅读(1169) 评论(0) 推荐(0)
摘要: Springboot + mybatis plus 启动报错:java.lang.annotation.AnnotationFormatError: Invalid default: public abstract java.lang.Class org.mybatis.spring.annotat 阅读全文
posted @ 2020-10-04 22:27 小二丶一碗茶 阅读(3633) 评论(0) 推荐(0)
摘要: 问题:在服务器运行脚本(nohup java -jar xxx.jar >output 2>&1 &)可以启动,在 jenkins 启动不成功,打开日志报:nohup: failed to run command ‘java’: No such file or directory 原因:jenkin 阅读全文
posted @ 2020-09-14 17:03 小二丶一碗茶 阅读(5294) 评论(1) 推荐(2)