yhs0092 commented on issue #1186: 使用本地注册中心,自己调用自己,有一个类型转换的错误 URL: https://github.com/apache/servicecomb-java-chassis/issues/1186#issuecomment-484794884 在服务的启动日志里搜索 `microserviceVersionFactory is`,能搜到什么内容吗? 如果找到的内容不是`microserviceVersionFactory is org.apache.servicecomb.core.definition.PrivateMicroserviceVersionMetaFactory.` 这样的,那么在日志里搜索一下`create local config`关键字,应该能找到类似这样的内容,它展示了ServiceComb-Java-Chassis启动时加载了哪些配置文件 ``` [2019-04-19 15:38:38,467][INFO][main][]create local config: org.apache.servicecomb.config.ConfigUtil.createLocalConfig(ConfigUtil.java:118) [2019-04-19 15:38:38,467][INFO][main][] jar:file:/D:/.m2/repo/org/apache/servicecomb/java-chassis-core/1.3.0-SNAPSHOT/java-chassis-core-1.3.0-SNAPSHOT.jar!/microservice.yaml. org.apache.servicecomb.config.ConfigUtil.createLocalConfig(ConfigUtil.java:120) [2019-04-19 15:38:38,468][INFO][main][] jar:file:/D:/.m2/repo/org/apache/servicecomb/solution-basic/1.3.0-SNAPSHOT/solution-basic-1.3.0-SNAPSHOT.jar!/microservice.yaml. org.apache.servicecomb.config.ConfigUtil.createLocalConfig(ConfigUtil.java:120) [2019-04-19 15:38:38,468][INFO][main][] file:/D:/workspace/IDEA/yhs0092/JavaChassisFaultSimulator/fault-simulator-provider/target/classes/microservice.yaml. org.apache.servicecomb.config.ConfigUtil.createLocalConfig(ConfigUtil.java:120) [2019-04-19 15:38:38,468][INFO][main][] file:/D:/workspace/IDEA/yhs0092/JavaChassisFaultSimulator/fault-simulator-common/target/classes/microservice.yaml. org.apache.servicecomb.config.ConfigUtil.createLocalConfig(ConfigUtil.java:120) ``` 看看你搜到了几份配置文件呢?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services