You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "morisenmen (GitHub)" <gi...@apache.org> on 2019/01/28 03:52:52 UTC

[GitHub] [incubator-dubbo-spring-boot-project] morisenmen opened issue #418: rest protocol springboot starter not worked

when i use dubbo-spring-boot-starter:0.2.1 and springboot 2.1.1 with dubbo 2.6.5 use rest protocol.I got this error:
An attempt was made to call the method org.apache.catalina.connector.Connector.setProtocol(Ljava/lang/String;)V but it does not exist. Its class, org.apache.catalina.connector.Connector, is available from the following locations:
but it can be work fine at dubbo-spring-boot-starter:0.2.1 and springboot 2.1.8 with dubbo 2.6.5 use rest protocol.
I can see that springboot 2.1.0 upgrade tomcat-embed version to 9,it can be fine at tomcat-embed in version 8.x.

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/418 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz closed issue #418: rest protocol springboot starter not worked

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
[ issue closed by mercyblitz ]

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/418 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] mercyblitz commented on issue #418: rest protocol springboot starter not worked

Posted by "mercyblitz (GitHub)" <gi...@apache.org>.
please switch `dubbo-spring-boot-autoconfigure`: 

```xml
        <dependency>
            <groupId>com.alibaba.boot</groupId>
            <artifactId>dubbo-spring-boot-autoconfigure</artifactId>
            <version>0.2.1</version>
        </dependency>
```

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/418 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo-spring-boot-project] sylartp commented on issue #418: rest protocol springboot starter not worked

Posted by "sylartp (GitHub)" <gi...@apache.org>.
@mercyblitz hi, i still have the same problem after i switch to this dependency.

[ Full content available at: https://github.com/apache/incubator-dubbo-spring-boot-project/issues/418 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org