Commit 29602f3d by chamberone

修复bean初始化错误

1 parent 780dbd4e
......@@ -14,6 +14,7 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;
import java.lang.reflect.Field;
......@@ -41,6 +42,7 @@ public class PlatformLogger {
/**
* 服务器辅助工具
*/
@Lazy
@Autowired
private ServerUtils serverUtils;
......
......@@ -14,6 +14,12 @@
在docker-compose目录下执行docker compose up
##### 验证启动成功:
打开nacos查看页面(http://localhost:8848/nacos),配置管理/配置列表,可以看到所有服务配置页面;服务管理/服务列表,可以看到所有已注册服务。
### 子项目说明
project-gateway 网关模块
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!