Yes I got newapp working, I think I have a velocity config issue? Since
newapp worked I am assuming that Velocity HAS to be working correctly, is
this the case?

-----Original Message-----
From: Scott Eade [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 20, 2002 2:31 PM
To: turbine-user
Subject: Re: HELP...Comiling Class Files In Turbine


Todd,

It does look like a classpath problem.  Did you get the stock standard
newapp running correctly before you moved on to HelloWorld?

You may have better luck using Ant for your compiles as this will manage the
classpath for you (assuming you configure it correctly).

If you managed to get newapp working then you need to look carefully at
anything you have subsequently changed.

HTH,

Scott

> From: "Todd Burian" <[EMAIL PROTECTED]>
>
> I am trying to write my first template, when I try to compile
> HelloWorld.java I am receiving the following:
> C:\tdk\webapps\newapp\WEB-INF\classes>javac HelloWorld.java
> HelloWorld.java:5: cannot resolve symbol
> symbol  : class RunData
> location: package util
> import org.apache.turbine.util.RunData;
>                              ^
> HelloWorld.java:6: cannot resolve symbol
> symbol  : class VelocityScreen
> location: package screens
> import org.apache.turbine.modules.screens.VelocityScreen;
>                                         ^
> HelloWorld.java:8: cannot resolve symbol
> symbol  : class VelocityScreen
> location: class HelloWorld
> public class HelloWorld extends VelocityScreen
>                               ^
> HelloWorld.java:10: cannot resolve symbol
> symbol  : class RunData
> location: class HelloWorld
>   public void doBuildTemplate( RunData data, Context context )
>                                ^
> 4 errors
>
> I have set CLASSPATH etc
> Thanks,
> Todd


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


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

Reply via email to