• 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
New Web Components failing to compile?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

New Web Components failing to compile?


  • Subject: New Web Components failing to compile?
  • From: Jeffrey Pearson <email@hidden>
  • Date: Wed, 22 Mar 2006 18:27:12 -0800

Next issue.

When I add a web component, it fails to compile??

Steps I took:

Right-Click on Web Components in the Groups/Files panel.
Select Add->New File
Select WebObjects->Component
Click Next
Name it (ie Publishers)
Location is ~/metropolisadmin
Add to project: metropolisadmin
All Three targets selected (I have also tried just metropolisadmin target selected)
Click Finish
When XCode finishes what it is doing, I select Build and Go.


Here is the class file created:

//
// Publishers.java: Class file for WO Component 'Publishers'
// Project metropolisadmin
//
// Created by jeffreypearson on 3/22/06
//

import com.webobjects.foundation.*;
import com.webobjects.appserver.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eoaccess.*;

public class Publishers extends WOComponent {

    public Publishers(WOContext context) {
        super(context);
    }

}


Get errors:

Publishers.java:9: package com.webobjects.appserver does not exist

Publishers.java:11: package com.webobjects.eoaccess does not exist
Publishers.java:13: cannot resolve symbol (which is the public class Publishers extends WOComponent line)
Publishers.java:15: cannot resolve symbol (which is the Public Publishers(WOContext context) line)



How can this be erroring with the template file that is autogenerated?


Jeff



_______________________________________________
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


  • Follow-Ups:
    • Re: New Web Components failing to compile?
      • From: Martin Fled <email@hidden>
    • Re: New Web Components failing to compile?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: Static versus non-Static methods?
  • Next by Date: Re: New Web Components failing to compile?
  • Previous by thread: Re: Application URL
  • Next by thread: Re: New Web Components failing to compile?
  • Index(es):
    • Date
    • Thread