XCode1.5 で WebObjects の D2W をさくっと作ってもcom.webobjects.foundation.NSKeyValueCoding$UnknownKeyException
などが出てきます。
これは Xcode 1.5 の問題らしくリリースノートに記述があります。
For Direct To Web projects: When creating a new Direct To Web project, you'll notice that the MenuHeader.java and PageWrapper.java source files are not correctly added to the Application Servers target and are in the Bundle Resources build phase and not in the Sources build phase. After creating a new project, open the Application Servers target in the Groups & Files view and drag the MenuHeader.java and PageWrapper.java source files from the Bundle Resources build phase to Sources build phase.
という事。
他のやり方↓もありますが、やってる事は同じです。
1. Select both files (MenuHeader.java and PageWrapper.java), right click and select Delete; in the requester, select "Delete Reference".
2. Add Existing Files: Select the same 2 files from your current working directory and add them to your project without requesting a copy to be made.
3. Rebuild and enjoy

コメントする