I will try that, thank you. Angela Day National Autism Association of Central Texas
http://www.naacentraltexas.org ________________________________ From: "mav-user-requ...@lists.sourceforge.net" <mav-user-requ...@lists.sourceforge.net> To: mav-user@lists.sourceforge.net Sent: Thu, April 22, 2010 12:22:20 PM Subject: Mav-user Digest, Vol 2, Issue 4 Send Mav-user mailing list submissions to mav-user@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/mav-user or, via email, send a message with subject or body 'help' to mav-user-requ...@lists.sourceforge.net You can reach the person managing the list at mav-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Mav-user digest..." Today's Topics: 1. NoClassDefFoundError and I have all the right jar files (Angela Day) 2. Re: NoClassDefFoundError and I have all the right jar files (Jeff Schnitzer) ---------------------------------------------------------------------- Message: 1 Date: Thu, 22 Apr 2010 09:50:56 -0700 (PDT) From: Angela Day <akc...@yahoo.com> Subject: [Mav-user] NoClassDefFoundError and I have all the right jar files To: mav-user@lists.sourceforge.net Message-ID: <495078.86446...@web33304.mail.mud.yahoo.com> Content-Type: text/plain; charset="us-ascii" I didn't change maverick. Just pulled in the jar file, that is all. I am using it as-is maverick. The log file doesn't have any error messages but stops just before reading the maverick file. Here is the log file: 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] DEBUG tdhca.maverick.Dispatcher - Database is DEV 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO org.infohazard.maverick.Dispatcher - Starting configuration load 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO org.infohazard.maverick.Dispatcher - Loading config from jndi:/localhost/alligator/WEB-INF/alligator-maverick.xml 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - Transform factory for "document" is org.infohazard.maverick.transform.DocumentTransformFactory 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - Transform factory for "xslt" is org.infohazard.maverick.transform.XSLTransformFactory 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - View factory for "document" is org.infohazard.maverick.view.DocumentViewFactory 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - View factory for "redirect" is org.infohazard.maverick.view.RedirectViewFactory 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - View factory for "trivial" is org.infohazard.maverick.view.TrivialViewFactory 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO org.infohazard.maverick.flow.MasterFactory - View factory for "null" is org.infohazard.maverick.view.NullViewFactory Here is the maverick.xml file <?xml version="1.0"?> <!-- $Id: alligator-maverick.xml,v 1.250 2009/11/02 21:07:53 eturner Exp $ --> <maverick version="2.0" default-view-type="document"> <views> <view id="default" type="redirect" path="PostLogin.m"/> <view id="error" path="common/error.vm"/> </views> <commands> <!-- login, logout and change password commands --> <command name="Login"> <controller class="tdhca.common.ctl.Login"/> <view name="error" path="/common/login.vm"> <param name="title" value="Login"/> <param name="focus" value="userId"/> </view> <view name="default" type="redirect" ref="default"/> <view name="success" type="null"/> </command> <command name="Logout"> <controller class="tdhca.common.ctl.Logout"/> <view name="success" type="redirect" ref="default"> <param name="title" value="Logout"/> </view> </command> <command name="PermissionDenied"> <controller class="tdhca.admin.ctl.PermissionDenied"/> <view name="success" path="/common/permissionDenied.vm"/> </command> <command name="ChangePassword"> <controller class="tdhca.common.ctl.ChangePassword"/> <view name="error" path="/common/changePassword.vm"> <param name="title" value="Change Password"/> <param name="focus" value="oldPassword"/> <param name="system" value="contract"/> </view> <view name="default" type="redirect" ref="default"/> <view name="success" path="/common/message.vm"> <param name="title" value="Change Password"/> </view> </command> <command name="FundSourceList"> <controller class="tdhca.alligator.ctl.FundSourceList"/> <view name="success" path="/fundsource/overview.vm"> <param name="title" value="Fund Source List"/> </view> </command> <command name="FundTree"> <controller class="tdhca.alligator.ctl.FundTree"/> <view name="success" path="/shared/tree.vm"> <param name="title" value="Fund Hierarchy"/> </view> </command> <command name="FundSourceContext"> <controller class="tdhca.alligator.ctl.FundSourceTransaction"/> <view name="success" path="/fundsource/transactionStep1.vm"> <param name="title" value="Fund Source Transaction"/> </view> <view name="error" path="/fundsource/transactionStep1.vm"> <param name="title" value="Error - Fund Source Transaction"/> </view> </command> <command name="FundSourcePrepareTransaction"> <controller class="tdhca.alligator.ctl.FundSourceTransaction"/> <view name="success" path="/fundsource/transactionStep2.vm"> <param name="title" value="Fund Source Transaction - Step 2"/> </view> <view name="error" path="/fundsource/transactionStep1.vm"> <param name="title" value=""/> </view> </command> ... </commands> </maverick> Thanks for your help. Angela -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Thu, 22 Apr 2010 10:22:10 -0700 From: Jeff Schnitzer <j...@infohazard.org> Subject: Re: [Mav-user] NoClassDefFoundError and I have all the right jar files To: Discussion about using the maverick MVC framework <mav-user@lists.sourceforge.net> Message-ID: <w2o540eb7211004221022i76de57a6t9c045123804d0...@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 There is considerable mystery here, because the NoClassDefFoundError in your stack trace was clearly thrown out of Loader.java line 140. This is not a valid line of code. You can see for yourself, line 140 is a comment: http://mav.cvs.sourceforge.net/viewvc/mav/maverick/src/java/org/infohazard/maverick/flow/Loader.java?revision=1.17&view=markup I don't know how to explain this inconsistency, but I can tell you how I would solve your problem: Install the JD plugin for Eclipse: http://java.decompiler.free.fr/ You simply open the Loader class using the Type finder and you will see the decompiled source code annotated with line numbers. You can see what is *actually* at line #140 and that will hopefully provide further clue as to what classes are missing. Jeff On Thu, Apr 22, 2010 at 9:50 AM, Angela Day <akc...@yahoo.com> wrote: > I didn't change maverick.? Just pulled in the jar file, that is all.? I am > using it as-is? maverick.? The log file doesn't have any error messages but > stops just before reading the maverick file. > > Here is the log file: > 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] DEBUG > tdhca.maverick.Dispatcher? - Database is DEV > 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO > org.infohazard.maverick.Dispatcher? - Starting configuration load > 851304 2010-04-22 10:31:55,585 [http-8080-Processor23] INFO > org.infohazard.maverick.Dispatcher? - Loading config from > jndi:/localhost/alligator/WEB-INF/alligator-maverick.xml > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - Transform factory for > "document" is org.infohazard.maverick.transform.DocumentTransformFactory > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - Transform factory for "xslt" > is org.infohazard.maverick.transform.XSLTransformFactory > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - View factory for "document" is > org.infohazard.maverick.view.DocumentViewFactory > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - View factory for "redirect" is > org.infohazard.maverick.view.RedirectViewFactory > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - View factory for "trivial" is > org.infohazard.maverick.view.TrivialViewFactory > 851381 2010-04-22 10:31:55,662 [http-8080-Processor23] INFO > org.infohazard.maverick.flow.MasterFactory? - View factory for "null" is > org.infohazard.maverick.view.NullViewFactory > > Here is the maverick.xml file > <?xml version="1.0"?> > <!-- > ??? $Id: alligator-maverick.xml,v 1.250 2009/11/02 21:07:53 eturner Exp $ > ?--> > > <maverick version="2.0" default-view-type="document"> > ??? <views> > ??? ??? <view id="default" type="redirect" path="PostLogin.m"/> > ??? ??? <view id="error" path="common/error.vm"/> > ??? </views> > ??? <commands> > > ??? ??? <!-- login, logout and change password commands --> > > ??? ??? <command name="Login"> > ??? ??? ??? <controller class="tdhca.common.ctl.Login"/> > ??? ??? ??? <view name="error" path="/common/login.vm"> > ??? ??? ??? ??? <param name="title" value="Login"/> > ??? ??? ??? ??? <param name="focus" value="userId"/> > ??? ??? ??? </view> > ??? ??? ??? <view name="default" type="redirect" ref="default"/> > ??? ??? ??? <view name="success" type="null"/> > ??? ??? </command> > > ??? ??? <command name="Logout"> > ??? ??? ??? <controller class="tdhca.common.ctl.Logout"/> > ??? ??? ??? <view name="success" type="redirect" ref="default"> > ??? ??? ??? ??? <param name="title" value="Logout"/> > ??? ??? ??? </view> > ??? ??? </command> > > ??? ??? <command name="PermissionDenied"> > ??? ??? ??? <controller class="tdhca.admin.ctl.PermissionDenied"/> > ??? ??? ??? <view name="success" path="/common/permissionDenied.vm"/> > ??? ??? </command> > > ??? ??? <command name="ChangePassword"> > ??? ??? ??? <controller class="tdhca.common.ctl.ChangePassword"/> > ??? ??? ??? <view name="error" path="/common/changePassword.vm"> > ??? ??? ??? ??? <param name="title" value="Change Password"/> > ??? ??? ??? ??? <param name="focus" value="oldPassword"/> > ??? ??? ??? ??? <param name="system" value="contract"/> > ??? ??? ??? </view> > ??? ??? ??? <view name="default" type="redirect" ref="default"/> > ??? ??? ??? <view name="success" path="/common/message.vm"> > ??? ??? ??? ??? <param name="title" value="Change Password"/> > ??? ??? ??? </view> > ??? ??? </command> > > ??? ??? <command name="FundSourceList"> > ??? ??? ??? <controller class="tdhca.alligator.ctl.FundSourceList"/> > ??? ??? ??? <view name="success" path="/fundsource/overview.vm"> > ??? ??? ??? ??? <param name="title" value="Fund Source List"/> > > ??? ??? ??? </view> > ??? ??? </command> > ??? ??? <command name="FundTree"> > ??? ??? ??? <controller class="tdhca.alligator.ctl.FundTree"/> > ??? ??? ??? <view name="success" path="/shared/tree.vm"> > ??? ??? ??? ??? <param name="title" value="Fund Hierarchy"/> > ??? ??? ??? </view> > ??? ??? </command> > ??? ??? <command name="FundSourceContext"> > ??? ??? ??? <controller class="tdhca.alligator.ctl.FundSourceTransaction"/> > ??? ??? ??? <view name="success" path="/fundsource/transactionStep1.vm"> > ??? ??? ??? ??? <param name="title" value="Fund Source Transaction"/> > > ??? ??? ??? </view> > ??? ??? ??? <view name="error" path="/fundsource/transactionStep1.vm"> > ??? ??? ??? ??? <param name="title" value="Error - Fund Source > Transaction"/> > ??? ??? ??? </view> > ??? ??? </command> > ??? ??? <command name="FundSourcePrepareTransaction"> > ??? ??? ??? <controller class="tdhca.alligator.ctl.FundSourceTransaction"/> > ??? ??? ??? <view name="success" path="/fundsource/transactionStep2.vm"> > ??? ??? ??? ??? <param name="title" value="Fund Source Transaction - Step > 2"/> > ??? ??? ??? </view> > ??? ??? ??? <view name="error" path="/fundsource/transactionStep1.vm"> > ??? ??? ??? ??? <param name="title" value=""/> > ??? ??? ??? </view> > ??? ??? </command> > ... > > > ??? </commands> > </maverick> > > > Thanks for your help. > Angela > > > ------------------------------------------------------------------------------ > > _______________________________________________ > %(real_name)s mailing list > %(real_name)s...@%(host_name)s > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > Archives are available at > http://www.mail-archive.com/mav-user%40lists.sourceforge.net/ > ------------------------------ ------------------------------------------------------------------------------ ------------------------------ _______________________________________________ Mav-user mailing list Mav-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mav-user End of Mav-user Digest, Vol 2, Issue 4 **************************************
------------------------------------------------------------------------------
_______________________________________________ %(real_name)s mailing list %(real_name)s...@%(host_name)s %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s Archives are available at http://www.mail-archive.com/mav-user%40lists.sourceforge.net/