随笔分类 - SpringBoot
摘要:要在 Kylin Linux Advanced Server V10 上安装 Nacos,可以按照以下进行操作:1.安装 Java JDK:首先确保已在 Kylin Linux Advanced Server V10 上安装了 Java JDK。你可以按照前面提到的步骤进行 JDK 的安装和配置。
阅读全文
摘要:#!/bin/sh# 注:这里可替换为你自己的执行程序,其他代码无需更改APP_NAME=app-biz.jar #使用说明,用来提示输入参数usage() { echo "Usage: sh 脚本名.sh [start|stop|restart|status]" exit 1} #检查程序是否在运
阅读全文
摘要:错误如图: 我的是服务器启动服务时报错: ***************************APPLICATION FAILED TO START*************************** Description: The dependencies of some of the be
阅读全文
摘要:报错日志如下: Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.-2023-05-05 09:46:02.328 [TID
阅读全文
摘要:遇到一个问题,项目启动后一致无法正常登陆进入后端,登陆时一直报错返回null,排查后发现是自己粗心,项目中 gateway服务配置的 application的name:@artifactId@ 和nacos上配置的DataID 不一致导致 如图,修改前: 本地登录时: 本地项目配置-使用默认的项目的
阅读全文
摘要:问题现象:项目启动后,登陆连接服务器时超时:Connection timed out no further information 192.168.42.190:4004 原因:我的配置有问题,在nacos配置中,服务发现和服务配置都设置了固定IP地址, 实际上我连接的是公司无线网络,IP是每次连接
阅读全文
摘要:[springBoot系列]--springBoot注解大全 一、注解(annotations)列表 @SpringBootApplication:包含了@ComponentScan、@Configuration和@EnableAutoConfiguration注解。其中@ComponentScan
阅读全文