Freemarker missing

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Freemarker missing

Frank Herrman
Hi all,

After restarting Ofbiz I suddenly found an error in the logs relating to Freemarker. This was the error:

/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java:74: error: cannot find symbol
    public static final Version version = Configuration.VERSION_2_3_28;

This suggests Freemarker was not available. I did some recent changes to templates, but nothing spectacular and certainly nothing with freemarker code or configuration. I’m not sure which modification caused this error since you don’t need to restart for template changes.

I ended up downloading and copying freemarker.jar into the /lib/ folder which resolved the issue, but that doesn’t feel right. Does anybody have any idea what went wrong here?

Kind regards,

Frank
Reply | Threaded
Open this post in threaded view
|

Re: Freemarker missing

Aditya Sharma
Hi Frank,

Can you share some more details?

Which release are you using?


Thanks and Regards,

*Aditya Sharma* | Enterprise Software Engineer
HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
<http://www.hotwaxsystems.com/>
[image: https://www.linkedin.com/in/aditya-p-sharma/]
<https://www.linkedin.com/in/aditya-p-sharma/>


On Wed, Nov 28, 2018 at 9:58 PM Frank Herrman <[hidden email]> wrote:

> Hi all,
>
> After restarting Ofbiz I suddenly found an error in the logs relating to
> Freemarker. This was the error:
>
> /framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java:74:
> error: cannot find symbol
>     public static final Version version = Configuration.VERSION_2_3_28;
>
> This suggests Freemarker was not available. I did some recent changes to
> templates, but nothing spectacular and certainly nothing with freemarker
> code or configuration. I’m not sure which modification caused this error
> since you don’t need to restart for template changes.
>
> I ended up downloading and copying freemarker.jar into the /lib/ folder
> which resolved the issue, but that doesn’t feel right. Does anybody have
> any idea what went wrong here?
>
> Kind regards,
>
> Frank
>
Reply | Threaded
Open this post in threaded view
|

Re: Freemarker missing

Frank Herrman
Hi Aditya,

I am using the latest release: 16.11.05. It did work before with this release, so it is probably caused by myself. I'm just wondering what it could have been.

Kind regards,
 
Frank

Op 29-11-18 06:06 heeft Aditya Sharma <[hidden email]> geschreven:

    Hi Frank,
   
    Can you share some more details?
   
    Which release are you using?
   
   
    Thanks and Regards,
   
    *Aditya Sharma* | Enterprise Software Engineer
    HotWax Commerce <http://www.hotwax.co/> by HotWax Systems
    <http://www.hotwaxsystems.com/>
    [image: https://www.linkedin.com/in/aditya-p-sharma/]
    <https://www.linkedin.com/in/aditya-p-sharma/>
   
   
    On Wed, Nov 28, 2018 at 9:58 PM Frank Herrman <[hidden email]> wrote:
   
    > Hi all,
    >
    > After restarting Ofbiz I suddenly found an error in the logs relating to
    > Freemarker. This was the error:
    >
    > /framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java:74:
    > error: cannot find symbol
    >     public static final Version version = Configuration.VERSION_2_3_28;
    >
    > This suggests Freemarker was not available. I did some recent changes to
    > templates, but nothing spectacular and certainly nothing with freemarker
    > code or configuration. I’m not sure which modification caused this error
    > since you don’t need to restart for template changes.
    >
    > I ended up downloading and copying freemarker.jar into the /lib/ folder
    > which resolved the issue, but that doesn’t feel right. Does anybody have
    > any idea what went wrong here?
    >
    > Kind regards,
    >
    > Frank
    >