ddaitarn304gmail.com Posted September 13, 2017 Share Posted September 13, 2017 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[/code] Link to comment Share on other sites More sharing options...
hozawa Posted September 13, 2017 Share Posted September 13, 2017 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-how-extend-it-and-contribute-your-own-functions-part-2-0 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now