apache / dubbo-spring-boot-project

Spring Boot Project for Apache Dubbo
https://dubbo.apache.org
Apache License 2.0
5.41k stars 1.88k forks source link

dubbo-spring-boot-starter 0.2.0真心垃圾 #274

Closed yumrko closed 6 years ago

yumrko commented 6 years ago

这和spring boot 2.x 出现各种问题 各种注册不上 本地bug 整合mybatis 更是恶心的一x

ralf0131 commented 6 years ago

Please provide detailed issues.

skmbw commented 6 years ago

不要用这个,就用Spring的bean 的配置方式。这个貌似还要每个service指定配置。不能统一配置嘛?

yumrko commented 6 years ago
    <dependency>
        <groupId>com.alibaba.boot</groupId>
        <artifactId>dubbo-spring-boot-starter</artifactId>
        <version>0.2.0</version>
    </dependency>
    <dependency>
        <groupId>com.alibaba.boot</groupId>
        <artifactId>dubbo-spring-boot-actuator</artifactId>
        <version>0.2.0</version>
    </dependency>
    <dependency>
        <groupId>org.mybatis.spring.boot</groupId>
        <artifactId>mybatis-spring-boot-starter</artifactId>
        <version>1.3.2</version>
    </dependency>
    <dependency>
        <groupId>com.alibaba</groupId>
        <artifactId>druid</artifactId>
        <version>1.1.10</version>
    </dependency>
    <dependency>
        <groupId>mysql</groupId>
        <artifactId>mysql-connector-java</artifactId>
    </dependency>这是provider端的  XXXXmapper.java中加 @Mapper @Component 提示注入的bean不成   其他和案例一样 praent 导入了 2.0.4 spring boot
yumrko commented 6 years ago

有个用0.1.0 版本的 整合 spring boot1.5.15 还是可以的 不过我找到的是 mybatis plus + spring boot + dubbo 本地 zkServer.cmd redis.exe 运行起来 加上 shiro 是可以跑起来的。不知道部署到服务器上会不会崩溃

mercyblitz commented 6 years ago

What's error message?

yumrko commented 6 years ago

问题以解决 部署了 0.1.0版本 个0.2.0版本

JunjianS commented 6 years ago

这个工程和alibaba下面的那个starter工程什么关系?

ralf0131 commented 6 years ago

@JunjianS This is the official starter.