htynkn commented on issue #161: URL: https://github.com/apache/dubbo-samples/issues/161#issuecomment-623913752
works in my local PC <img width="1181" alt="屏幕快照 2020-05-05 下午3 49 42" src="https://user-images.githubusercontent.com/659135/81045077-12f7ad80-8ee8-11ea-9e16-c4ac69267b3f.png"> maven dependencies log all good: ``` [INFO] Scanning for projects... [INFO] [INFO] ---------------< org.apache.dubbo:dubbo-samples-direct >---------------- [INFO] Building dubbo-samples-direct 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ dubbo-samples-direct --- [INFO] org.apache.dubbo:dubbo-samples-direct:jar:1.0-SNAPSHOT [INFO] +- org.apache.dubbo:dubbo:jar:2.7.5:compile [INFO] | +- org.springframework:spring-context:jar:4.3.16.RELEASE:compile [INFO] | | +- org.springframework:spring-aop:jar:4.3.16.RELEASE:compile [INFO] | | +- org.springframework:spring-beans:jar:4.3.16.RELEASE:compile [INFO] | | \- org.springframework:spring-expression:jar:4.3.16.RELEASE:compile [INFO] | +- com.alibaba.spring:spring-context-support:jar:1.0.5:compile [INFO] | +- org.javassist:javassist:jar:3.20.0-GA:compile [INFO] | +- io.netty:netty-all:jar:4.1.25.Final:compile [INFO] | +- com.google.code.gson:gson:jar:2.8.5:compile [INFO] | \- org.yaml:snakeyaml:jar:1.20:compile [INFO] +- org.apache.dubbo:dubbo-dependencies-zookeeper:pom:2.7.5:compile [INFO] | +- org.apache.curator:curator-recipes:jar:4.0.1:compile [INFO] | | \- org.apache.curator:curator-framework:jar:4.0.1:compile [INFO] | | \- org.apache.curator:curator-client:jar:4.0.1:compile [INFO] | | \- com.google.guava:guava:jar:20.0:compile [INFO] | \- org.apache.zookeeper:zookeeper:jar:3.4.13:compile [INFO] | +- org.slf4j:slf4j-api:jar:1.7.25:compile [INFO] | +- org.slf4j:slf4j-log4j12:jar:1.7.25:compile [INFO] | +- log4j:log4j:jar:1.2.17:compile [INFO] | +- jline:jline:jar:0.9.94:compile [INFO] | \- org.apache.yetus:audience-annotations:jar:0.5.0:compile [INFO] +- junit:junit:jar:4.12:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] \- org.springframework:spring-test:jar:4.3.16.RELEASE:test [INFO] \- org.springframework:spring-core:jar:4.3.16.RELEASE:compile [INFO] \- commons-logging:commons-logging:jar:1.2:compile [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.104 s [INFO] Finished at: 2020-05-05T15:46:21+08:00 [INFO] ------------------------------------------------------------------------ ``` katacod: <img width="1432" alt="屏幕快照 2020-05-05 下午3 59 43" src="https://user-images.githubusercontent.com/659135/81045782-78986980-8ee9-11ea-933f-fd09d3c763e2.png"> The way I try to reproduce is incorrect. the jar file is not a all-in-one jar, so it should use -classpath. I verify this samples in both my PC and katacoda. please check your IDE (maybe refresh project via maven import) or check katacode link to check again (https://www.katacoda.com/htynkn/scenarios/dubbo-samples-issue-161) ---------------------------------------------------------------- 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: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
