• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error


  • Subject: Re: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error
  • From: Mike Schrag <email@hidden>
  • Date: Fri, 30 Apr 2010 07:40:49 -0400

looks like a wacky setup, but i don't know what ... i don't know how you could have ERXRouteController exist, but ERXRestFormat NOT exist. NoClassDefFound is almost always a funky classpath problem. Does ERXRestFormat exist in your workspace? Is your ERRest framework a complete build?

ms

On Apr 29, 2010, at 9:52 PM, Johnny Miller wrote:

Hi,

I'm trying to get my head around ERRest and I'm using the ERRestRouteExample as my guide.

So far I just added ERRest to a new project and added one entity from a framework model to my ERXRouteRequestHandler using the addDefaultRoutes method.

I can start the application but when I try to see a basic show route i.e. http://10.0.42.4:53339/cgi-bin/WebObjects/ExampleRestServer.woa/ra/(EntityName).xml

I get the following error:

NoClassDefFoundError: Could not initialize class er.rest.format.ERXRestFormat
  at er.rest.routes.ERXRouteController.format(ERXRouteController.java:366)
  at er.rest.routes.ERXRouteController.errorResponse(ERXRouteController.java:978)
  at er.rest.routes.ERXRouteController.performActionNamed(ERXRouteController.java:1265)
  at er.rest.routes.ERXRouteController.performActionNamed(ERXRouteController.java:1129)
  ... skipped 8 stack elements

Could this be an error in my setup?  ERRest is added to the path so I'm a little confused on the error.

Thanks in advance,

Johnny


Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error
      • From: Todor Mitevski <email@hidden>
References: 
 >Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error (From: Johnny Miller <email@hidden>)

  • Prev by Date: Re: [OT] - WWDC10
  • Next by Date: why EOGenericRecord and no ERXGenericRecord generation?
  • Previous by thread: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error
  • Next by thread: Re: Getting Started with ERRest / Could not initialize class er.rest.format.ERXRestFormat error
  • Index(es):
    • Date
    • Thread