Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 19825 invoked from network); 5 Mar 2009 09:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 09:08:43 -0000 Received: (qmail 96344 invoked by uid 500); 5 Mar 2009 09:08:34 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 96316 invoked by uid 500); 5 Mar 2009 09:08:34 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 96305 invoked by uid 99); 5 Mar 2009 09:08:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 01:08:33 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 09:08:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Lf9Yj-0004Nd-DB for user@struts.apache.org; Thu, 05 Mar 2009 01:08:05 -0800 Message-ID: <22347717.post@talk.nabble.com> Date: Thu, 5 Mar 2009 01:08:05 -0800 (PST) From: mahanare To: user@struts.apache.org Subject: Problem with convention plugin, trying to load a spring bean as a class object MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mahanare@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, We are facing a problem in a struts2 rest (2.1.6) application. We have configured spring and spring configuration contains the bean definitions for all rest action classes, While it seem to work, we have the following problem: When the rest service action class returns something, it is some how throwing the following exception. ironically this exception is thrown while executing spring bean "stakeController". Validate method is called properly and also "create" method. Could you please advice me on what might be wrong with our project? java.lang.RuntimeException: Invalid action class configuration that references an unknown class named [stakeController] org.apache.struts2.convention.ConventionsServiceImpl.determineResultPath(ConventionsServiceImpl.java:99) org.apache.struts2.convention.ConventionUnknownHandler.determinePath(ConventionUnknownHandler.java:379) org.apache.struts2.convention.ConventionUnknownHandler.handleUnknownResult(ConventionUnknownHandler.java:268) com.opensymphony.xwork2.DefaultUnknownHandlerManager.handleUnknownResult(DefaultUnknownHandlerManager.java:76) com.opensymphony.xwork2.DefaultActionInvocation.createResult(DefaultActionInvocation.java:214) -- View this message in context: http://www.nabble.com/Problem-with-convention-plugin%2C-trying-to-load-a-spring-bean-as-a-class-object-tp22347717p22347717.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org