Skip to content
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

第六章 配置中心 http://localhost:8888/foo/dev Whitelabel Error Page #19

Open
hiei17 opened this issue Jun 11, 2018 · 8 comments
Open

Comments

@hiei17
Copy link

@hiei17 hiei17 commented Jun 11, 2018

这里是不是只要run config-server 一个模块?

我fork了本项目
git的配置 然后改成
spring.cloud.config.server.git.uri=https://github.com/hiei17/SpringCloudLearning/
spring.cloud.config.server.git.searchPaths=respo
spring.cloud.config.label=master
spring.cloud.config.server.git.username=hiei17
spring.cloud.config.server.git.password=我的登录密码

@hiei17
Copy link
Author

@hiei17 hiei17 commented Jun 11, 2018

我知道了 必须1.8

@fengxianhua126
Copy link

@fengxianhua126 fengxianhua126 commented Jun 27, 2018

是这样吗?

@hiei17
Copy link
Author

@hiei17 hiei17 commented Jun 27, 2018

后来换成1.8 就通 要是仓库没密码的话 用户名密码这2行也可以不用

@fengxianhua126
Copy link

@fengxianhua126 fengxianhua126 commented Jun 27, 2018

你说的必须1.8 是

<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>

吗?

@fengxianhua126
Copy link

@fengxianhua126 fengxianhua126 commented Jun 27, 2018

pom.xml和ConfigServerApplication.java application.properties这三个文件都是直接拖过来的,运行起来也没报错。但是访问就报错。我看了pom.xml用的也是他的1.8

@fengxianhua126
Copy link

@fengxianhua126 fengxianhua126 commented Jun 27, 2018

郁闷了

@fengxianhua126
Copy link

@fengxianhua126 fengxianhua126 commented Jun 27, 2018

我用的eclipse,你用eclipse试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.