-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.XDocReportException: Cannot find serializer. Please set the template engine FieldsMetadata#setTemplateEngineKind(String templateEngineKind) before calling this method #6
Comments
Have you added template engine library on your classpath? |
@integrys-net Sorry for bumping this, but what do you mean added it to your classpath? I added the Apache Velocity template engine to my dependencies, but it still doesn't seem to register and I get the same error. Edit:
|
After adding this line to gradle buidl file have you resolved? |
Indeed there are not a lot of activity but the project lives with external contributions. If you need some evolution, please contribute it. |
@integrys-net |
Hello,
I'm using XDocReport/ Velocity.
when i try to load : metadata.load("StudyAndProfessionalPhoto", StudyAndProfessionalProjectDocsDTO.class, true);
i get this exception.
fr.opensagres.xdocreport.core.XDocReportException: Cannot find serializer. Please set the template engine FieldsMetadata#setTemplateEngineKind(String templateEngineKind) before calling this method.
at fr.opensagres.xdocreport.template.formatter.FieldsMetadata.load(FieldsMetadata.java:565)
if ( serializer == null )
{
throw new XDocReportException(
"Cannot find serializer. Please set the template engine FieldsMetadata#setTemplateEngineKind(String templateEngineKind) before calling this method." );
}
how can i initialize the "serializer" please ?
Thanx
The text was updated successfully, but these errors were encountered: