New Web Components failing to compile?
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