Can you try this JAR and see if it fixes your problem?

http://struts-menu.sourceforge.net/struts-menu-2.4.1.jar

Matt

On 6/23/06, Matt Raible <[EMAIL PROTECTED]> wrote:
> Can you send your menu.jsp - or the JSP where you're using the menu tags?
>
> Thanks,
>
> Matt
>
> On 6/23/06, croote croote <[EMAIL PROTECTED]> wrote:
> > Hi,
> > I'm sure it's a ridiculous pb ... but :
> >
> > My so basic menu-config :
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <MenuConfig>
> >     <Displayers>
> >         <Displayer      name="TabbedMenu"
> >                                         
> > type="net.sf.navigator.displayer.TabbedMenuDisplayer"/>
> >             <Displayer  name="CSSListMenu"
> >                  type="net.sf.navigator.displayer.CSSListMenuDisplayer"/>
> >         </Displayers>
> >     <Menus>
> >         <Menu   name="fichier"
> >                                 title="menu.fichier"
> >                                 description="Recherche de fichiers"
> >                                 page="/welcome.do?type=file"/>
> >             <Menu       name="facture"
> >                                 title="menu.facture"
> >                                 description="Recherche de factures"
> >                                 page="/welcome.do?type=fact"/>
> >         <Menu   name="parametrage"
> >                                 title="menu.parametrage"
> >                                 description="Parametrage">
> >                         <Item  title="Paramétrage des alertes"
> >                                    toolTip="Paramétrage des alertes"
> >                                    page="/reportAlerte.do"/>
> >                 </Menu>
> >      </Menus>
> > </MenuConfig>
> >
> >
> > My StackTrace (in order) when i'm deploying :
> > 10:40:46,002 ERROR [Digester.endElement] 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:252)
> >         at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
> >         at org.apache.commons.digester.Rule.end(Rule.java:276)
> >         at 
> > org.apache.commons.digester.Digester.endElement(Digester.java:1058)
> >         at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
> > Source)
> >         at 
> > org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> > Source)
> >         at 
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> > Source)
> >         at 
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> > Source)
> >         at 
> > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> > Source)
> >         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> > Source)
> >         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
> > Source)
> >         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> > .............
> > 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)
> >         ... 172 more
> > 10:40:46,877 ERROR [ContextLoaderPlugIn.init] Context initialization failed
> > org.springframework.beans.factory.BeanCreationException: Error
> > creating bean with name 'menu' defined in ServletContext resource
> > [/WEB-INF/action-servlet.xml]: Initialization of bean failed; nested
> > exception is org.springframework.context.ApplicationContextException:
> > Failed to initialize Struts Menu repository; nested exception is
> > javax.servlet.ServletException: Failure initializing struts-menu:
> > Error parsing resource file: /WEB-INF/menu-config.xml nested exception
> > is: Error at (5, 63: null
> > org.springframework.context.ApplicationContextException: Failed to
> > initialize Struts Menu repository; nested exception is
> > javax.servlet.ServletException: Failure initializing struts-menu:
> > Error parsing resource file: /WEB-INF/menu-config.xml nested exception
> > is: Error at (5, 63: null
> > javax.servlet.ServletException: Failure initializing struts-menu:
> > Error parsing resource file: /WEB-INF/menu-config.xml nested exception
> > is: Error at (5, 63: null
> >         at 
> > net.sf.navigator.menu.MenuLoader.initApplicationContext(MenuLoader.java:63)
> >         at 
> > org.springframework.context.support.ApplicationObjectSupport.setApplicationContext(ApplicationObjectSupport.java:79)
> >
> > And i want to notice you i'm using Spring. So in my action-servlet i have :
> >         <bean id="menu" class="net.sf.navigator.menu.MenuLoader">
> >                 <property name="menuConfig">
> >                         <value>/WEB-INF/menu-config.xml</value>
> >                 </property>
> >         </bean>
> >
> > As we can see, the velocity context is problematic. I'm not in a
> > velocity envir. but i don't think to use a particuliar exclusive
> > feature of this envir.
> >
> > If you can help me ...
> >
> > ps : this config work without any pb in 2.3
> >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Thu, 22 Jun 2006 15:56:51 +0200
> > > From: "croote croote" <[EMAIL PROTECTED]>
> > > Subject: [struts-menu] 2.4 menu-config.xml parsing error
> > > To: [email protected]
> > > Message-ID:
> > >         <[EMAIL PROTECTED]>
> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > >
> > > Hi,
> > > I'm using at this moment struts-menu 2.3 and i would like to chge to
> > > 2.4 but i have a problem when i'm deploying my webapp.
> > > A parsing error in menu-config.xml occured ...
> > > It's a shame cause a like the new cssMenu.
> > >
> > > Could you help me ?
> > >
> > > Thks
> > > bye
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 2
> > > Date: Thu, 22 Jun 2006 11:05:00 -0600
> > > From: "Matt Raible" <[EMAIL PROTECTED]>
> > > Subject: Re: [struts-menu] 2.4 menu-config.xml parsing error
> > > To: "General mailing list for Struts Menu"
> > >         <[email protected]>
> > > Message-ID:
> > >         <[EMAIL PROTECTED]>
> > > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> > >
> > > Can you post your menu-config.xml?  I'd like to try it in the sample
> > > application and see if I can reproduce the problem.  Can you post a
> > > stack trace or the error you're getting?
> > >
> > > Matt
> > >
> > > On 6/22/06, croote croote <[EMAIL PROTECTED]> wrote:
> > > > Hi,
> > > > I'm using at this moment struts-menu 2.3 and i would like to chge to
> > > > 2.4 but i have a problem when i'm deploying my webapp.
> > > > A parsing error in menu-config.xml occured ...
> > > > It's a shame cause a like the new cssMenu.
> > > >
> > > > Could you help me ?
> > > >
> > > > Thks
> > > > bye
> > > >
> > > > Using Tomcat but need to do more? Need to support web services, 
> > > > security?
> > > > Get stuff done quickly with pre-integrated technology to make your job 
> > > > easier
> > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache 
> > > > Geronimo
> > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > > > _______________________________________________
> > > > struts-menu-user mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Using Tomcat but need to do more? Need to support web services, security?
> > > Get stuff done quickly with pre-integrated technology to make your job 
> > > easier
> > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > >
> > >
> > > ------------------------------
> > >
> > > _______________________________________________
> > > struts-menu-user mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> > >
> > >
> > > End of struts-menu-user Digest, Vol 1, Issue 358
> > > ************************************************
> > >
> >
> > Using Tomcat but need to do more? Need to support web services, security?
> > Get stuff done quickly with pre-integrated technology to make your job 
> > easier
> > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> > _______________________________________________
> > struts-menu-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/struts-menu-user
> >
>

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to