• 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: NoClassDefFoundError
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NoClassDefFoundError


  • Subject: Re: NoClassDefFoundError
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 19 Feb 2016 10:47:18 +1030

Hi Jeff,

On 19 Feb 2016, at 10:39 am, Jeff Schmitz <email@hidden> wrote:

I’m trying to deploy to a new machine and am getting the below classpath error when I start my app from the command line. I can build and run in my dev environment as well as deploy to a different machine.  I checked JAVA_HOME and it looks good so I’m not sure what to check next.  I’m guessing my main project is looking in the wrong place for the frameworks and added libs on the deployment machine, but I’m not sure what property tells it where to look when deployed.  I’m hoping this is a simple one.

If that’s the problem, most people embed all the required frameworks in the application bundle to solve it. Set these in build.properties:

embed.Local=true
embed.Network=true
embed.Project=true
embed.System=true
embed.User=true

(If there’s some reason you can’t do this, we’ll have to explore the issue further.)


-- 
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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: NoClassDefFoundError
      • From: Jeff Schmitz <email@hidden>
References: 
 >NoClassDefFoundError (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: NoClassDefFoundError
  • Next by Date: Re: NoClassDefFoundError
  • Previous by thread: NoClassDefFoundError
  • Next by thread: Re: NoClassDefFoundError
  • Index(es):
    • Date
    • Thread