Are you using the same jar files when you are compiling and running?
----- Original Message ----- From: "George Schamal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 11, 2004 3:27 AM
Subject: question on Parameter Parser
Thanks to all who helped me in my previous inquiry.
I'm having a very weird(and probably stupid) problem with the command rundata.getParameters().
if the code just contains:
public class Hello extends VelocityScreen { public void doBuildTemplate(RunData data, Context context) { data.getParameters(); } }
there is no compile error. but when the Hello.vm is called, the following very weird error is shown:
Horrible Exception: java.lang.NoSuchMethodError: org.apache.turbine.util.RunData.getParameters()Lorg/apache/turbine/util/ParameterParser; at org.mycompany.newapp.modules.screens.Hello.doBuildTemplate(Hello.java:52)
which I think means it cannot find the method getParameters.
I'm sure Rundata has a getParameters() method and ParameterParser is provided in the turbine, right?
I encountered this only in Turbine 2.3. Using Turbine 2.2 doesn't give this problem.
Anyone who encountered the same problem?
Regards,
George
_______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com
--------------------------------------------------------------------- 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]
