1、java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet,Servlet 
dependency scope need set rumtime
2、when set Servlet api runtime ,cousumer and provider can start up sucess ,when 
I access test url :http://localhost:8080/sayHello?name=HelloWorld, then ocur 
some exception,
consumer exception log:
com.alibaba.dubbo.remoting.RemotingException: Not found exported service: 
com.alibaba.boot.dubbo.demo.consumer.DemoService:12345 in 
[com.alibaba.boot.dubbo.demo.consumer.DemoService:1.0.0:12345], may be version 
or group mismatch , channel: consumer: /192.168.56.1:4358 --> provider: 
/192.168.56.1:12345, message:RpcInvocation [methodName=sayHello, 
parameterTypes=[class java.lang.String], arguments=[HelloWorld], 
attachments={path=com.alibaba.boot.dubbo.demo.consumer.DemoService, input=248, 
dubbo=2.0.2, interface=com.alibaba.boot.dubbo.demo.consumer.DemoService, 
version=0.0.0}]
        at 
com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:213)
provider exception log:
com.alibaba.dubbo.remoting.RemotingException: Not found exported service: 
com.alibaba.boot.dubbo.demo.consumer.DemoService:12345 in 
[com.alibaba.boot.dubbo.demo.consumer.DemoService:1.0.0:12345], may be version 
or group mismatch , channel: consumer: /192.168.56.1:4358 --> provider: 
/192.168.56.1:12345, message:RpcInvocation [methodName=sayHello, 
parameterTypes=[class java.lang.String], arguments=null, 
attachments={path=com.alibaba.boot.dubbo.demo.consumer.DemoService, 
dubbo=2.0.2, interface=com.alibaba.boot.dubbo.demo.consumer.DemoService, 
version=0.0.0}]
        at 
com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getInvoker(DubboProtocol.java:213)
 ~[dubbo-2.6.5.jar:2.6.5]

3,I doubt some code forget to commit to respository ? and My IDE is Ideal ,thx

[ Full content available at: 
https://github.com/apache/incubator-dubbo-spring-boot-project/issues/335 ]
This message was relayed via gitbox.apache.org for 
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to