• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSDictionary Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDictionary Error


  • Subject: Re: NSDictionary Error
  • From: Don Lindsay <email@hidden>
  • Date: Mon, 30 Apr 2007 22:11:53 -0400

Hello;

Here is the generated Classpath. I am still getting the error for some reason.

Generated classpath:
/private/tmp/dwtm.dst/Library/WebObjects/Applications/dwtm.woa/ Contents/Resources/Java/dwtm.jar
/System/Library/Frameworks/JavaEOAccess.framework/Resources/Java/ javaeoaccess.jar
/System/Library/Frameworks/JavaWebObjects.framework/Resources/Java/ javawebobjects.jar
/System/Library/Frameworks/JavaWOExtensions.framework/Resources/ Java/JavaWOExtensions.jar
/System/Library/Frameworks/JavaXML.framework/Resources/Java/ javaxml.jar
/System/Library/Frameworks/JavaJDBCAdaptor.framework/Resources/ Java/javajdbcadaptor.jar
/System/Library/Frameworks/JavaWOJSPServlet.framework/Resources/ Java/javawojspservlet.jar
/Library/Frameworks/WOComponentElements.framework/Resources/Java/ WOComponentElements.jar
/System/Library/Frameworks/JavaEOControl.framework/Resources/Java/ javaeocontrol.jar
/Library/Frameworks/JavaWOSecurity.framework/Resources/Java/ JavaWOSecurity.jar
/Library/Frameworks/WOExamplesHarness.framework/Resources/Java/ WOExamplesHarness.jar
/Library/Frameworks/WOComponentExamples.framework/Resources/Java/ WOComponentExamples.jar
/System/Library/Frameworks/JavaEOApplication.framework/Resources/ Java/javaeoapplication.jar
/System/Library/Frameworks/JavaFoundation.framework/Resources/Java/ javafoundation.jar
/Users/don/Library/Java/
/Library/Java/
/System/Library/Java/
/Network/Library/Java
/System/Library/Frameworks/JavaVM.framework/Classes/classes.jar
/System/Library/Frameworks/JavaVM.framework/Classes/ui.jar
/Library/WebObjects/Extensions/axis-ant.jar
/Library/WebObjects/Extensions/axis.jar
/Library/WebObjects/Extensions/commons-discovery.jar
/Library/WebObjects/Extensions/commons-logging.jar
/Library/WebObjects/Extensions/jaxrpc.jar
/Library/WebObjects/Extensions/log4j-1.2.8.jar
/Library/WebObjects/Extensions/saaj.jar
/Library/WebObjects/Extensions/wsdl4j.jar
/Library/WebObjects/Extensions/


Thanks

Don
On Apr 30, 2007, at 4:49 PM, Ray Kiddy wrote:


On Apr 30, 2007, at 12:36 PM, Don Lindsay wrote:

Howdy Chuck;

I did a clean and build and still have the issue. I have not made any changes to the application since the last time it was built and deployed 4 months ago.

Don

Look at the classpath as it is printed out by Xcode when you launch. Find the JavaFoundation.jar file. Is the file there? Is it readable. Do a "jar tf" on it. Does it have the classes?


Your classpath is what it is. The classes on the classpath are what they are.

If it is not making sense construct a one-line script out of the output from the script inside the woa and launch it. Double-check what is in it and tweak until it works. The things you had to change are the problem.

- ray

On Apr 30, 2007, at 2:55 PM, Chuck Hill wrote:

That looks like a classpath error, or a class loader issue. Try a clean and rebuilt. What have you changed?

Chuck

On Apr 30, 2007, at 11:50 AM, Don Lindsay wrote:

Hello;

I am having an issue with one of my applications. It just started, I get the following error when I attempt to run the application:

[2007-04-30 14:45:58 EDT] <main> A fatal exception occurred: com/ webobjects/foundation/NSDictionary
[2007-04-30 14:45:58 EDT] <main> java.lang.NoClassDefFoundError: com/webobjects/foundation/NSDictionary
at com.webobjects.security.SPSecurityPolicyAbstract.policyConfig (SPSecurityPolicyAbstract.java:347)
at com.webobjects.security.SPSecurityPolicyAbstract.<init> (SPSecurityPolicyAbstract.java:403)
at com.webobjects.security.SPSecurityPolicy.<init> (SPSecurityPolicy.java:110)
at com.webobjects.security.SPSecurityPolicy.policy (SPSecurityPolicy.java:104)
at com.psgs.dodig.dwtm.Application.<init>(Application.java:42)


Any ideas?  I am using Xcode 2.4.1.

Thanks,

Don
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net


This email sent to email@hidden


--

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@hidden)
Help/Unsubscribe/Update your Subscription:
40ganymede.org


This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to email@hidden

_______________________________________________ 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
References: 
 >NSDictionary Error (From: Don Lindsay <email@hidden>)
 >Re: NSDictionary Error (From: Chuck Hill <email@hidden>)
 >Re: NSDictionary Error (From: Don Lindsay <email@hidden>)
 >Re: NSDictionary Error (From: Ray Kiddy <email@hidden>)

  • Prev by Date: Re: NSDictionary Error
  • Previous by thread: Re: NSDictionary Error
  • Index(es):
    • Date
    • Thread