美文网首页
tarsJava example 跑不起来

tarsJava example 跑不起来

作者: 无我_a50f | 来源:发表于2020-05-14 14:55 被阅读0次

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无

猜测是服务没启动

相关文章

网友评论

      本文标题:tarsJava example 跑不起来

      本文链接:https://www.haomeiwen.com/subject/egutohtx.html