-
Notifications
You must be signed in to change notification settings - Fork 423
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
项目如何启动 #5
Comments
先启动,registry-server和config-server,然后ms随意启动一个就可以看到注册到了注册中心 |
com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry-server |
config-server和registry-server分别是你自己的配置中心和注册中心(Eureka)的地址,你自己启动这两个服务之后,配置服务相应的ip即可
在 2018-11-22 15:23:52,"mainthings" <[email protected]> 写道:
com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry-server
启动 了registry-server 和config-server 启动ms的时候报错! 这个是怎么处理啊
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
可以说说怎么配置吗 没有怎么弄过微服务这块 有点懵 准备学习一哈 |
代码中有thoth-config-server 和 thoth-registry-server 分别对应配置中心和注册中心
md中有说明 registry-server就是注册中心eureka,这个对应配置中注册 eureka.client.serviceUrl.defaultZone 这个域名
config-server 就是配置中心 把这两个服务先启动
在 2018-11-22 15:30:20,"mainthings" <[email protected]> 写道:
可以说说怎么配置吗 没有怎么弄过微服务这块 有点懵 准备学习一哈
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) 一直報錯,這個問題 說数据库连接不上 但是确认了配置是正确的 |
这个GIT玩的不是很熟悉,首先启动了注册中心以及配置中心,导入脚本到对应DB,启动对应的rob-web提示:com.sun.jersey.api.client.ClientHandlerException: java.net.UnknownHostException: registry-server |
项目如何启动
The text was updated successfully, but these errors were encountered: