The order of imports can be a problem if you’re seeing that slf4j issue. (That library can be masked or not loaded if there is an incompatible implementation.
I see this thread has wound around to a permissions problem as the fix, but I wanted to mention (for those searching the mailing list for answers) that checking the load order of the class path (so that ERJars gets loaded correctly) can be another source of this issue. One of the symptoms of this is the exception looking for LoggerFactory, but that is hinted at by an earlier warning that doesn’t load slf4j because of an incompatible (or missing) logger implementation. Larry Mills-Gahl [email protected] > On Feb 19, 2016, at 3:49 AM, Daniele Corti <[email protected]> wrote: > > Hi Jeff, > the slf4j is in the ERJar framework. Check the NEXT_ROOT variable and see if > the frameworks are correctly copied in the Local path on the new machine. > > > > 2016-02-19 1:09 GMT+01:00 Jeff Schmitz <[email protected] > <mailto:[email protected]>>: > Hello list, > 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. > > > Caused by: java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory > at er.extensions.eof.ERXConstant.<clinit>(ERXConstant.java:140) > at > er.extensions.appserver.ERXApplication$Loader.<init>(ERXApplication.java:588) > at > er.extensions.appserver.ERXApplication.setup(ERXApplication.java:1066) > at > er.extensions.appserver.ERXApplication.main(ERXApplication.java:873) > > Thanks! > Jeff > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected] > <mailto:[email protected]>) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com > <https://lists.apple.com/mailman/options/webobjects-dev/ildenae%40gmail.com> > > This email sent to [email protected] <mailto:[email protected]> > > > -- > Daniele Corti > -- > I DON'T DoubleClick > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected] > <mailto:[email protected]>) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com > <https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com> > > This email sent to [email protected] <mailto:[email protected]>
signature.asc
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
