-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The service running from eclipse can not be registered to nacos server. #3924
Comments
Also it is ok in Linux os |
The complete logs are here from Eclipse Console. **15:53:35.144 [background-preinit] INFO o.h.v.i.util.Version - [,21] - HV000001: Hibernate Validator 8.0.1.Final ######## ###### ###### ### ######## ######## ## ## ### #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## #### ## ## ####### ## #### ## ## ## ###### ## ## ## ## #### ## ## ## ## ######### ## ## ## ## ## ########### ## ## ## ## ## ## ## ## ## ## ## ## ## ########## ###### ###### ## ## ## ######## ### ### ## ##15:53:38.009 [main] INFO c.a.n.c.u.ParamUtil - [,89] - [settings] [req-serv] nacos-server port:8848 ######## ###### ###### ### ######## ######## ## ## ### #### ## ## ## ## ## ## ## ## ## ## ## ## ## ## #### ## ## ## ## ## ## ## ## ## ## ## #### ## ## ####### ## #### ## ## ## ###### ## ## ## ## #### ## ## ## ## ######### ## ## ## ## ## ########### ## ## ## ## ## ## ## ## ## ## ## ## ## ########## ###### ###### ## ## ## ######## ### ### ## ##** |
info-成功注册.log 使用cmd和eclipse启动服务,成功注册和未成功注册得日志。 |
@mercyblitz @lovepoem @fqtrnt please help me! Any suggest that i appreciate. |
IDEA中可以正常启动服务,并注册到nacos server |
Which Component
Spring boot 3,spring 6,spring cloud alibaba 2023.0.1.2,nacos server 2.3.0-beta
Describe the bug
The service running from eclipse can not be registered to nacos server.
There is no REGISTER-SERVICE key word infomation in the log from eclipse console.
However use command mvn spring-boot:run -pl ruoyi-gateway -Pspringboot3remote or java -jar to run the service,print these logs
15:15:54.119 [main] INFO c.a.n.client.naming - [registerService,133] - [REGISTER-SERVICE] springboot3remote registering service ruoyi-gateway with instance Instance{instanceId='null', ip='169.254.116.234', port=8080, weight=1.0, healthy=true, enabled=true, ephemeral=true, clusterName='', serviceName='null', metadata={IPv6=[240e:441:418:8db4:7763:b96b:19b6:2f7d], preserved.register.source=SPRING_CLOUD}}
and the service can be registered to nacos server.
Simplest demo
To Reproduce
Use command mvn spring-boot:run -pl ruoyi-gateway -Pspringboot3remote or java -jar to run the service,
then the service can be registered to nacos server.
But eclipse can register service to nacos server.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
nacos discovery configuration and namespace configuration below
Additional context
window 11 , jdk 17
Any suggest, i'll appreciate that
The text was updated successfully, but these errors were encountered: