java.lang.IllegalArgumentException

Tool can only be initialized with a ViewContext


Solutions on the web14753

Solution icon of apache
via velocity-user by Mike Kienenberger, 10 months ago
Tool can only be initialized with a ViewContext

Solution icon of apache
via velocity-user by Nathan Bubna, 1 month ago
Tool can only be initialized with a ViewContext

Solution icon of apache
via velocity-user by Nathan Bubna, 1 month ago
Tool can only be initialized with a ViewContext

Solution icon of apache
via velocity-user by Mike Kienenberger, 10 months ago
Tool can only be initialized with a ViewContext

Solution icon of web
via galleryproject.org by Unknown author, 1 year ago
loadJava can only be called with a URL or a filename

Solution icon of stackoverflow
GroupLayout can only be used with one Container at a time

Solution icon of web
via java.net by Unknown author, 1 year ago
GroupLayout can only be used with one Container at a time

Solution icon of web
via javahispano.org by Unknown author, 1 year ago
GroupLayout can only be used with one Container at a time

Solution icon of stackoverflow
GroupLayout can only be used with one Container at a time

Solution icon of web
via java-forum.org by Unknown author, 1 year ago
GroupLayout can only be used with one Container at a time

Stack trace

  • java.lang.IllegalArgumentException: Tool can only be initialized with a ViewContext at org.apache.velocity.tools.view.tools.LinkTool.init(LinkTool.java:291) at org.apache.velocity.tools.view.ViewToolInfo.getInstance(ViewToolInfo.java:171) at org.apache.velocity.tools.view.XMLToolboxManager.getToolboxContext(XMLToolboxManager.java:150) at com.gvea.struts.ebpp.framework.Application.getToolboxContext(Application.java:124)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

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.