Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 10009 invoked from network); 28 Apr 2006 05:00:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Apr 2006 05:00:28 -0000 Received: (qmail 87218 invoked by uid 500); 28 Apr 2006 05:00:26 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 87150 invoked by uid 500); 28 Apr 2006 05:00:26 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 87132 invoked by uid 99); 28 Apr 2006 05:00:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 22:00:25 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 22:00:24 -0700 Received: from localhost ([127.0.0.1] helo=talk.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1FZL5F-0002ck-H5 for user@geronimo.apache.org; Thu, 27 Apr 2006 22:00:01 -0700 Message-ID: <4134540.post@talk.nabble.com> Date: Thu, 27 Apr 2006 22:00:01 -0700 (PDT) From: avin98 To: user@geronimo.apache.org Subject: Geronimo xmlbeans error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-Sender: avin98@yahoo.com X-Nabble-From: avin98 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I am trying to marshal an object into XML in my servlet. I am using XMLBeans to achieve this. I use scomp to create a jar, and have it in my /WEB-INF/lib folder. However at runtime I get the following error. Can someone let me know whats wrong ??? java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:1655) at java.lang.Class.getMethod0(Class.java:1901) at java.lang.Class.getMethod(Class.java:984) at org.apache.xmlbeans.XmlBeans.buildMethod(XmlBeans.java:174) at org.apache.xmlbeans.XmlBeans.buildNodeMethod(XmlBeans.java:195) at org.apache.xmlbeans.XmlBeans.buildNodeToCursorMethod(XmlBeans.java:23 2) at org.apache.xmlbeans.XmlBeans.(XmlBeans.java:131) The same code in a standalone console app works perfectly fine. Is there anything that I need to do ? I am using XmlBeans v 2.0.0 which is what is shipped with Geronimo as well. -- View this message in context: http://www.nabble.com/Geronimo-xmlbeans-error-t1522515.html#a4134540 Sent from the Apache Geronimo - Users forum at Nabble.com.