Hi Ian,

All those problems sound like they might be a CLASSPATH issue. Check the Classpath on whatever platform you are using and make sure it has a reference to /opt/Apple or whatever directory contains the apple frameworks, on Mac I think it's /Library/Frameworks/, on Linux I think it's /opt/apple/. That might be the problem.

Kind regards,
David.

On 6 Jun 2006, at 04:50, Ian Joyner wrote:

Problem: The client side of an app is not finding class Logger:

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/log4j/Logger at MyApp.client.Main_interface_controller.<clinit> (Main_interface_controller.java:58)

Offending line 58 is:

protected static final Logger log = Logger.getLogger (Main_interface_controller.class);

I have included both ERJars.framework (from Wonder) and log4j-1.2.8.jar in my frameworks group and they are included in both Application Server and WebServer targets.

One solution:

Putting the line:

LOCALROOT/Library/Frameworks/ERJars.framework/Resources/Java/ log4j-1.2.8.jar

into ClasspathClient.txt in the .woa package fixes the problem, but the question is, how do I make Xcode include the line automatically?

Thanks
Ian

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/david% 40infinityspain.com

This email sent to [EMAIL PROTECTED]



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to