advertisement

Article:
  An Introduction to WebObjects
Subject:   Direct to Web java.lang.ClassNotFoundException: Application error
Date:   2004-12-31 05:43:22
From:   Florijan
Response to: Direct to Web java.lang.ClassNotFoundException: Application error

Thank you Josh,


Creating projects in paths with no spaces helped. I managed to run the login screen of WebObjects. However, when I clicked login, I got the following error:


Application:
D2WTutorial


Error:
com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException: [ valueForKey()]: lookup of unknown key: 'visibleEntityNames'. This WOComponent does not have an instance variable of the name visibleEntityNames or _visibleEntityNames, nor a method of the name visibleEntityNames, _visibleEntityNames, getVisibleEntityNames, or _getVisibleEntityNames


Reason:
[<com.webobjects.appserver.WOComponent name: MenuHeader subcomponents: null > valueForKey()]: lookup of unknown key: 'visibleEntityNames'. This WOComponent does not have an instance variable of the name visibleEntityNames or _visibleEntityNames, nor a method of the name visibleEntityNames, _visibleEntityNames, getVisibleEntityNames, or _getVisibleEntityNames


From what I can make out of it, it looks like he can not access methods of the classes generated by the EO model. And I am using the RealEstate tutorial model specified in the D2W documentation. I really don't understand why that happens because the model is freshly installed with the system, and the OpenBase says that he is runnig the database.


I would be grateful for suggestions on how to overcome this.
Thank you



1 to 1 of 1
  1. problem fixed
    2004-12-31 06:13:25  Florijan [View]

    • problem fixed
      2006-12-09 23:32:02  dbsurf [View]

      • Josh Paul photo problem fixed
        2006-12-10 08:55:41  Josh Paul | O'Reilly Author [View]

        • problem fixed
          2006-12-11 08:36:58  dbsurf [View]

      • Josh Paul photo problem fixed
        2006-12-10 08:55:17  Josh Paul | O'Reilly Author [View]

    • problem fixed
      2005-05-17 08:01:11  janiceC [View]

      • problem fixed
        2005-05-17 08:14:16  janiceC [View]

1 to 1 of 1