tarsJava example 跑不起来

2020-05-14  本文已影响0人  无我_a50f

1.


tars-quick-start-server (com.yuewen) 一直报org.slf4j 包不存在,引入本地包后, project-structure 中各个模块 依赖报红
解决问题  :  
  root   pom.xml 文件 中:
------------------------------------------------------------------------------------------------------------
<!--        <dependency>-->
<!--            <groupId>junit</groupId>-->
<!--            <artifactId>junit</artifactId>-->
<!--            <version>3.8.1</version>-->
<!--            <scope>test</scope>-->
<!--        </dependency>-->
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
            <scope>test</scope>
        </dependency>
------------------------------------------------------------------------------------------------------------
tar-example(root)  maven--clean    ============>   maven --install 

2020-05-14 14-53-26屏幕截图.png

刷新不再报错

2. Exception in thread "main" com.qq.tars.rpc.exc.ClientException: TestApp.HelloServer.HelloObj|connect failed to 127.0.0.1:18601无

猜测是服务没启动

上一篇 下一篇

猜你喜欢

热点阅读