Error creating "Functions Library" with Eclipse wizard

0

Hello, using Jasper Studio 6.4 and Eclipse Neon (4.6.3), when I try to create a "Function Library" I always got this error:

 

 

java.lang.reflect.InvocationTargetException: An error occurred during the functions library creation
    at com.jaspersoft.studio.wizards.functions.NewFunctionsLibraryWizard$1.run(NewFunctionsLibraryWizard.java:111)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: org.apache.velocity.exception.VelocityException: The specified class for ResourceManager (org.apache.velocity.runtime.resource.ResourceManagerImpl) does not implement org.apache.velocity.runtime.resource.ResourceManager; Velocity is not initialized correctly.
    at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:725)
    at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)
    at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:93)
    at com.jaspersoft.studio.utils.VelocityUtils.getConfiguredVelocityEngine(VelocityUtils.java:50)
    at com.jaspersoft.studio.wizards.functions.NewFunctionsLibraryWizard$1.run(NewFunctionsLibraryWizard.java:92)
    ... 1 more

ddaitarn304's picture
Joined: Sep 9 2015 - 6:39am
Last seen: 1 week 18 hours ago

1 Answer:

0

I just used Jaspersoft Studio 6.4 and followed instruction on the following page to create a custom function.

http://community.jaspersoft.com/wiki/jaspersoft-studio-expression-editor...

hozawa's picture
13952
Joined: Apr 24 2010 - 4:31pm
Last seen: 5 hours 23 min ago
Feedback
randomness