org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/javaclass.vm

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Hibernate JIRA by Michael Kötter, 1 year ago
Error while processing template pojo/javaclass.vm
via Hibernate JIRA by Michael Kötter, 1 year ago
Error while processing template pojo/javaclass.vm
via Hibernate JIRA by Todd Nine, 1 year ago
Error while processing template javaclass.vm
via Hibernate JIRA by Todd Nine, 1 year ago
Error while processing template javaclass.vm
via AppFuse JIRA by Mike Kelland, 1 year ago
Error while processing template appf use/web/struts/action-test.ftl
via Hibernate JIRA by Fang Yang, 1 year ago
MethodInvocationException while processing template Pojo. Invocation of method 'get' in class org.hibernate.tool.hbm2x.TemplateHelper$Templates threw exception class org.hibernate.tool.hbm2x.ExporterException : MethodInvocationException while
org.hibernate.tool.hbm2x.ExporterException: Error while processing template pojo/javaclass.vm
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:213)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:365)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:166)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:213)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:258)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:204)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:152)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:94)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:109)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:269)
at org.apache.velocity.Template.merge(Template.java:294)
at org.apache.velocity.app.VelocityEngine.mergeTemplate(VelocityEngine.java:488)
at org.hibernate.tool.hbm2x.TemplateHelper.processTemplate(TemplateHelper.java:77)
at org.hibernate.tool.hbm2x.POJOExporter.runVelocity(POJOExporter.java:81)
at org.hibernate.tool.hbm2x.POJOExporter.startPersistentClass(POJOExporter.java:52)
at org.hibernate.tool.hbm2x.ConfigurationNavigator.export(ConfigurationNavigator.java:38)
at org.hibernate.tool.ant.Hbm2JavaGeneratorTask.execute(Hbm2JavaGeneratorTask.java:39)
at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToolTask.java:101)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:301)
at org.apache.tools.ant.Target.performTasks(Target.java:328)
at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
at org.apache.tools.ant.Main.runBuild(Main.java:632)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.