Re: Error in Eclipse after migrating XCode project
Re: Error in Eclipse after migrating XCode project
- Subject: Re: Error in Eclipse after migrating XCode project
- From: David Avendasora <email@hidden>
- Date: Sun, 6 Apr 2008 08:19:04 -0400
I'm guessing that the Session class that your application is using is
NOT _your_ Session class but a Session class from one of the
frameworks you are using.
Xcode didn't use packages, but when you migrated to WOLips, you
probably did put your classes in packages (as you should). Since and
everything was together it would automatically pick the right Session
class without an import statement. If everything is now in packages,
you probably had to add import statements to your classes to get to
the Session since it probably isn't in the same package anymore. You
may have simply picked the wrong one.
Double check your import statements in HSCWrapper and make sure you're
importing the right one. (Not the one from JavaMail, for example).
Dave
On Apr 6, 2008, at 12:34 AM, Kevin Windham wrote:
I'm getting an error that I can't figure out. The message is:
"There is no key 'user' for the keypath 'session' in HSCWrapper."
In my Session.java file I have this.
public User user;
This code was working fine before the migration. When I reenter the
binding, session.user, I can use autocomplete to enter it, but I
still get the error.
I have a lot of these errors listed in other files where I access
other variables from the session.
TIA,
Kevin
_______________________________________________
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
_______________________________________________
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