Re: NoClassDefFoundError
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.)
|
_______________________________________________
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