On Jun 29, 2007, at 8:43 PM, Jacob Nelson wrote:

My webobjects application will not run when I include the PayPal sdk .jar files in my default java classpath. Anyone run into this problem? I know my questions are a little light on the technical side so bare with me.

By "default Java classpath" do you mean the Java Extensions directory (/Library/Java/Extensions)? If so, allow me to disabuse you of that notion. That directory is NOT NOT NOT NOT a "default Java classpath". It is specifically and strictly for extension to the _core_ Java API. PayPal is not an extension to the core Java API, it is just a run of the mill third party library. Just to be clear: this is a Java issue, not a WebObject's issue.

If you must have an easy place to dump this, try the WebObjects Extensions directory (/Library/WebObjects/Extensions). I dislike using this as it opens up the potential of conflicting version issues in deployment.

IMHO, the correct way to use these jars with WebObjects is to add them to a framework and include the framework in the project that needs the libraries. Turtorial here: http://wiki.objectstyle.org/ confluence/display/WOL/Create+a+WebObjects+Framework


Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





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

This email sent to [EMAIL PROTECTED]

Reply via email to