[appfuse-issues] [JIRA] Commented: (SM-47) Struts Menu 2.4 forces you to have velocity jars in the classpath.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[appfuse-issues] [JIRA] Commented: (SM-47) Struts Menu 2.4 forces you to have velocity jars in the classpath.

AppFuse - Issues mailing list
    [ http://issues.appfuse.org/browse/SM-47?page=comments#action_10858 ]

Tony Ugando commented on SM-47:
-------------------------------

Excellent, works fine now.

Thanks,

Tony

> Struts Menu 2.4 forces you to have velocity jars in the classpath.
> ------------------------------------------------------------------
>
>          Key: SM-47
>          URL: http://issues.appfuse.org/browse/SM-47
>      Project: Struts Menu
>         Type: Bug

>   Components: Menu Core
>     Versions: 2.4
>  Environment: Tomcat 5.5 on Windows XP
>     Reporter: Tony Ugando
>     Assignee: Matt Raible
>      Fix For: 2.4.1
>  Attachments: menu-config.xml
>
> I get the following exception after upgrading to Struts Menu 2.4.  Apparently, it is caused by java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
> 12:23:38,630_PM | ERROR [Digester] End event threw exception
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
> at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208)
> at org.apache.commons.digester.Rule.end(Rule.java:228)
> at org.apache.commons.digester.Digester.endElement(Digester.java:1067)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
> at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693)
> at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
> at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
> at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
> at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
> at org.apache.commons.digester.Digester.parse(Digester.java:1591)
> at net.sf.navigator.menu.MenuRepository.load(MenuRepository.java:202)
> at net.sf.navigator.menu.MenuContextListener.contextInitialized(MenuContextListener.java:62)
> at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
> at org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
> at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
> Caused by: java.lang.NoClassDefFoundError: org/apache/velocity/context/Context
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:164)
> at net.sf.navigator.menu.MenuRepository.class$(MenuRepository.java:31)
> at net.sf.navigator.menu.MenuRepository.addMenuDisplayerMapping(MenuRepository.java:164)
> ... 35 more
> 12:23:38,646_PM | FATAL [MenuContextListener] Failure initializing struts-menu: Error parsing resource file: /WEB-INF/menu-config.xml nested exception is: Error at (8, 62: null

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.appfuse.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]