[ 
https://issues.apache.org/jira/browse/VELOCITY-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-110.
-------------------------------------------


> Runtime Compile Error
> ---------------------
>
>                 Key: VELOCITY-110
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-110
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.3-rc1
>         Environment: Operating System: All
> Platform: Other
>            Reporter: Sameer Karkhanis
>         Assigned To: Velocity-Dev List
>            Priority: Blocker
>
> I downloaded the build source for Velocity version 1.3-rc1. Imported and ran 
> the sorce in IBM Visual age for Java (only .class files ofcourse). Here is 
> the 
> simple program that i wrote for initial testing of the velocity Engine:
> public String doSomething() {
>       
>       try{
>               VelocityEngine ve = new VelocityEngine();
>               ve.init(); 
>               Template t = ve.getTemplate( "helloworld.vm" );
>               VelocityContext context = new VelocityContext();
>               context.put("name", "World");
>               StringWriter writer = new StringWriter();
>               t.merge( context, writer );
>               return ( writer.toString() );
>       }
>       catch (Exception e){
>               System.out.println("Got a error" + e.toString());
>               return ("the error was found");
>       }
> }
> During runtime got the error:
> java.lang.NoSuchFieldError.
> The error was thrown on the line where i call the constructor;
> VelocityEngine ve = new VelocityEngine();
> Please do advise as to what should i do to get the VElocity Engine up and 
> running ?????

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to