- 问题一:
Failed to start bean 'webServerStartStop'; nested exception is java.lang.NoClassDefFoundError: org/eclipse/jetty/webapp/WebAppContext
- 依赖问题说什么无法开始
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
<version>${dubbo.version}</version>
</dependency>
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-dependencies-zookeeper-curator5</artifactId>
<version>${dubbo.version}</version>
<type>pom</type>
<exclusions>
<exclusion>
<artifactId>slf4j-reload4j</artifactId>
<groupId>org.slf4j</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-webapp</artifactId>
<version>9.4.49.v20220914</version>
</dependency>
- 问题二:
Address already in use: bind
......
No provider available., dubbo version: 3.2.0
- 端口问题,说什么端口问题,这里直接看官方文档
dubbo:
application:
name: dubbo-springboot-demo-consumer
qos-enable: true
qos-port: 33333
qos-accept-foreign-ip: false
protocol:
name: dubbo
port: -1
registry:
address: zookeeper://${zookeeper.address:192.168.137.1}:2181
标签:dubbo,qos,zookeeper,端口,jetty,org
From: https://www.cnblogs.com/vbig/p/17591066.html