At 11:38 AM 3/16/00 +0200, you wrote:
>Hi,
>I have problems compiling HelloWorld example from getting started
>document. I changed mycompany to markkuyp in source and in directory
>structure, and here is my command line and what I get. turbine is in
>classpath...
># javac HelloWorld.java
>HelloWorld.java:9: class com.markkuyp.modules.screens.HelloWorld must be
>declare
>d abstract. It does not define org.apache.ecs.ConcreteElement
>build(org.apache.t
>urbine.util.RunData) from class org.apache.turbine.modules.Screen.
>     public class HelloWorld extends org.apache.turbine.modules.Screen
>                  ^
>HelloWorld.java:11: Class com.markkuyp.modules.screens.RunData not found.
>         public ConcreteElement build( RunData data ) throws Exception
>                                ^
>HelloWorld.java:14: Class com.markkuyp.modules.screens.RunData not found
>in org.
>apache.ecs.ConcreteElement build(com.markkuyp.modules.screens.RunData).
>             data.setTitle ("Hello World");
>                           ^
>3 errors
>What is wrong?

It seems clear that you haven't dowloaded/installed ECS

   http://java.apache.org/ecs

or your CLASSPATH is not correct, because your javac is not
finding

   org.apache.ecs.ConcreteElement

Also, you left this line out of the HelloWorld.java example

   import org.apache.turbine.util.*;

That's why it is trying to find the RunData class in you current package
rather than finding it in Turbine.

I'm guessing you are very new to Java, because these are very basic
Java language issues.  In order to be successful with Turbine,
I suggest you find someone close to you who can help you through the 
Java language issues.

Stephen





------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to