read the document.
git clone https://github.com/apache/dubbo.git ./dubboorg.apache.dubbo.demo.provider.Application according to the documentation. And then try to run it by IDEA. (Zookeeper is running normally.)D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java
Error:(22, 50) java: 程序包org.apache.dubbo.rpc.protocol.rest.support不存在
Error:(37, 12) java: 找不到符号
符号: 变量 ContentType
Error:(37, 48) java: 找不到符号
符号: 变量 ContentType
after google translator translate:
D:\JAVA\projects\dubbo\dubbo-config\dubbo-config-api\src\test\java\org\apache\dubbo\config\bootstrap\rest\UserService.java
Error:(22, 50) java: The package org.apache.dubbo.rpc.protocol.rest.support does not exist
Error:(37, 12) java: Symbol not found
Symbol: Variable ContentType
Error::(37, 48) java: Symbol not found
Symbol: Variable ContentType
The error reported in the third step and the fifth step no longer appears.
Please see the third and fifth steps in Chapter ”Steps to reproduce this issue“.
Thanks.
I have the same problem
I found the answer,In the dubbo-config-api.pom, update it to look like this。
楼上咋解决的,我看配置就是这个啊,求助
dubbo-config-api.pom 文件中的maven的作用域更改一下。例如把
have the same problem
dubbo-config-api.pom 文件中的maven的作用域更改一下。例如把test 注释掉
涉及test的标签很多,需要全部注释吗?
把dubbo-rpc-rest 重新打个包
删除dubbo-config-api | pom.xml文件中dubbo-rpc-dubbo和dubbo-rpc-rest依赖的test作用域。
I have the same problem...
I have the same problem...
Most helpful comment
dubbo-config-api.pom 文件中的maven的作用域更改一下。例如把test 注释掉