Hi,
thanks for helping me so quickly. I am still getting the following errors:


Build Starting.......
--------------------------
now compiling java doc...
/Library/Tomcat/webapps/cocoon/web-inf/lib/avalon-excalibur-vm12 -20020705.jar:/Library/Tomcat/webapps/cocoon/web-inf/lib/avalon- framework-4.1.4.jar:/Library/Tomcat/webapps/cocoon/web-inf/lib/cocoon -2.1.3.jar:/Library/Tomcat/webapps/cocoon/web-inf/lib/logkit-1.2.jar:/ Library/Tomcat/webapps/cocoon/web-inf/lib/excalibur-datasource -1.1.1.jar
GetUserDetail.java:4: cannot resolve symbol
symbol : class ServiceException
location: package component
import org.apache.avalon.framework.component.ServiceException;
^
GetUserDetail.java:5: cannot resolve symbol
symbol : class ServiceManager
location: package component
import org.apache.avalon.framework.component.ServiceManager;
^
GetUserDetail.java:6: cannot resolve symbol
symbol : class ServiceSelector
location: package component
import org.apache.avalon.framework.component.ServiceSelector;
^
GetUserDetail.java:30: cannot resolve symbol
symbol : class ComponentSelector
location: class test.GetUserDetail
protected ComponentSelector dbselector;
^
GetUserDetail.java:31: cannot resolve symbol
symbol : class ComponentManager
location: class test.GetUserDetail
protected ComponentManager manager;
^
GetUserDetail.java:33: cannot resolve symbol
symbol : class ComponentManager
location: class test.GetUserDetail
public void compose(ComponentManager manager) throws ComponentException
^
GetUserDetail.java:33: cannot resolve symbol
symbol : class ComponentException
location: class test.GetUserDetail
public void compose(ComponentManager manager) throws ComponentException
^
GetUserDetail.java:39: cannot resolve symbol
symbol : class ComponentException
location: class test.GetUserDetail
protected final DataSourceComponent getDataSource(String pool) throws ComponentException
^
GetUserDetail.java:35: cannot resolve symbol
symbol : class ComponentSelector
location: class test.GetUserDetail
this.dbselector = (ComponentSelector)
^
9 errors


Andrew
On 16 Jan 2004, at 20:15, Geoff Howard wrote:

beyaNet Consultancy wrote:

Hi,
I wondered whether you could shine some light on this issue for me. I have built an action which retrieves some data from a database, and am now trying to compile the java file. I get the following error message:
GetUserDetail.java:4: package org.apache.avalon.framework.componet does not exist
import org.apache.avalon.framework.componet.ComponentException;
^

you misspelled "component" in all your packages in the avalon imports.


if you copied this off a tutorial or something, let us/them know so it can be fixed.

You know, eclipse never spells wrong.... ;)

Geoff


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to