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/archive%40mail-archive.com

This email sent to archive@mail-archive.com

Reply via email to