Return-Path: X-Original-To: apmail-cayenne-dev-archive@www.apache.org Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A671D4CF2 for ; Sun, 19 Jun 2011 05:41:06 +0000 (UTC) Received: (qmail 11424 invoked by uid 500); 19 Jun 2011 05:41:06 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 11310 invoked by uid 500); 19 Jun 2011 05:41:05 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 11302 invoked by uid 99); 19 Jun 2011 05:41:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 05:41:04 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of esudharaka@gmail.com designates 209.85.220.171 as permitted sender) Received: from [209.85.220.171] (HELO mail-vx0-f171.google.com) (209.85.220.171) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Jun 2011 05:40:58 +0000 Received: by vxh11 with SMTP id 11so4381286vxh.16 for ; Sat, 18 Jun 2011 22:40:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=CQxAjepeGimnwUD0TKdCITL43RpQlnyFXYd8GE1wOk4=; b=A0JD27g2BCIgpaMhUgLoNUrsfFCSPlzDau8E/w8soRjVuS50h78aZ8gDivyDkhFC4I byTWC8+lPLGPs9yJTxDs1ODhQdbFQKnJQF/YDElJTs0IcrDBETAyauxjNHq1c1rxS4ED VWd6eb3VvmS8/rEt2M2MiGkFZxmJTBZNDkSwc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZPX+I5/HOtyM1l7xn+sRFs2iHTdbCmCCrhkkj24Vil+QePvcspFcSR9OxVl2Gf0TI2 azQz0H8/Yerz/rOPqsROdCS36JZtm8ryfoBdrGKkX8opefZFy+YYtMs8JsxQZ7Xn1ZJs 6MrUqX0aqD4JTqDaeta03F7vj5bks2uAn9xEY= MIME-Version: 1.0 Received: by 10.52.107.132 with SMTP id hc4mr5349795vdb.30.1308462035997; Sat, 18 Jun 2011 22:40:35 -0700 (PDT) Received: by 10.52.182.67 with HTTP; Sat, 18 Jun 2011 22:40:35 -0700 (PDT) In-Reply-To: References: Date: Sun, 19 Jun 2011 11:10:35 +0530 Message-ID: Subject: Re: Binding Exception From: Eshan Sudharaka To: dev@cayenne.apache.org Content-Type: multipart/alternative; boundary=bcaec5486340db92d204a60a0efa X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5486340db92d204a60a0efa Content-Type: text/plain; charset=ISO-8859-1 Solved this issue. On Sun, Jun 19, 2011 at 7:43 AM, Eshan Sudharaka wrote: > Hi , I am trying to to following binding. > binder.bind(Application.class).to(PluginApplication.class); > > PluginApplication class does not have a default constructor(has a > constructor with args) and the Application class is the one in the > modeler. And i am getting following exception. > http://pastebin.com/PuJJRBZC > > What is the reason for this exception ? > > -- > *~Thanks & Regards~* > *** > * > P.A.Eshan Sudharaka > Dept of Computer Science and Engineering > University of Moratuwa > Sri Lanka > http://esudharaka.blogspot.com/ > > -- *~Thanks & Regards~* *** * P.A.Eshan Sudharaka Dept of Computer Science and Engineering University of Moratuwa Sri Lanka http://esudharaka.blogspot.com/ --bcaec5486340db92d204a60a0efa--