---
title: "Dubbo2.0.9报错"
author: "fengpy2009"
date: "2012-05-29T10:10:24Z"
tags: []
categories: ["编程语言"]
slug: "dubbo2-0-9"
draft: false
lastmod: "2012-05-29T10:10:24Z"
id: 1543427
url: "https://fengpy2009.iteye.com/blog/1543427"
---

Dubbo方法参数类型没有实现Serializable接口，则Consumer的方法调用时报超时  
应该报序列化失败的异常，不用等待超时。  
\# 方法的返回值类型没有实现Serializable接口，异常能正确报告。

[http://code.alibabatech.com/jira/browse/DUBBO-324](http://code.alibabatech.com/jira/browse/DUBBO-324)

 

Exception in thread "main" com.alibaba.dubbo.rpc.RpcException: Tried 3 times to invoke providers