RE: Failure initializing struts-menu: Error parsing resource file -- Help!

"Sandra Logeson" <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Tried to send you a war file, but it was too big?  Any suggestions?

-----Original Message-----
From: struts-menu-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
[mailto:struts-menu-user-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org]On Behalf Of Matt
Raible
Sent: Wednesday, May 26, 2004 12:16 AM
To: struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: RE: [struts-menu] Failure initializing struts-menu: Error
parsing resource file -- Help!


It looks like it's finding menu-config.xml - maybe its not well-formed
XML?  If everything looks write - is it possible to send me a WAR I can
just drop into Tomcat to test?

Matt

> -----Original Message-----
> From: struts-menu-user-admin-TtF/[email protected] 
> [mailto:struts-menu-user-admin-TtF/[email protected]] On Behalf Of 
> Sandra Logeson
> Sent: Tuesday, May 25, 2004 6:28 AM
> To: struts-menu-user-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> Subject: [struts-menu] Failure initializing struts-menu: 
> Error parsing resource file -- Help!
> 
> 
> I am new to struts and am trying to get struts-menu to work 
> in my application.  I keep gettting this error and cannot 
> find anything wrong in my menu-config.xml file.
> 
> Here is the error I'm receiving:
> 
> javax.servlet.ServletException: Failure initializing 
> struts-menu: Error parsing resource file: 
> /WEB-INF/classes/edu/ncsu/lib/ematrix/conf/menu-config.xml 
> nested exception
> is: Error at (11, 155: null
> 	at net.sf.navigator.menu.MenuPlugIn.init(MenuPlugIn.java:67)
> 	at
> org.apache.struts.action.ActionServlet.initModulePlugIns(Actio
> nServlet.java:
> 1156)
> 	at 
> org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
> 	at 
> org.apache.struts.tiles.ActionComponentServlet.init(ActionComp
> onentServlet.j
> ava:104)
> 	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
> 	at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> rapper.java:93
> 5)
> 	at 
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.
> java:823)
> 	at
> org.apache.catalina.core.StandardContext.loadOnStartup(Standar
> dContext.java:
> 3422)
> 	at
> org.apache.catalina.core.StandardContext.start(StandardContext
> .java:3623)
> 	at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at 
> org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
> 	at 
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
> 	at 
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
> 	at 
> org.apache.catalina.core.StandardService.start(StandardService
> .java:497)
> 	at 
> org.apache.catalina.core.StandardServer.start(StandardServer.j
> ava:2190)
> 	at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
> 	at 
> org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
> 	at 
> org.apache.catalina.startup.Catalina.process(Catalina.java:180)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
> orImpl.java:39
> )
> 	at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
> odAccessorImpl
> .java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:324)
> 	at 
> org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
> 
> Here is my menu-config.xml:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> 
> <MenuConfig>
> 
>   <Displayers>
>     <Displayer   name="ListMenu"
> type="net.sf.navigator.displayer.ListMenuDisplayer"/>
>     <Displayer   name="Simple"
> type="com.fgm.web.menu.displayer.SimpleMenuDisplayer"/>
>   </Displayers>
>   <Menus>
>     <Menu name="indexMenu"  title="Examples">
>       <Item name="indexMenu1" title="Basic Example" 
> toolTip="Shows usage of the menu displayers using defaults." 
> location="/pages/common/bibdetails.jsp"/>
>       <Item name="indexMenu2" title="Advanced Example" 
> toolTip="Shows customized menu displays." 
> location="/pages/common/view_bibdetails.jsp"/>
>     </Menu>
>   </Menus>
> </MenuConfig>
> 
> Here is my jsp that is attempting to display the "indexMenu":
> 
> <%@ taglib uri="jstl/c" prefix="c" %>
> <%@ taglib uri="struts/tiles" prefix="tiles" %>
> <%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
> 
> 
> <menu:useMenuDisplayer name="Simple">
>     <table cellpadding=0 cellspacing=0>
>     <tr><td>
>      <menu:displayMenu name="indexMenu"/>
>     </td></tr>
>   </table>
> </menu:useMenuDisplayer>
> 
> Any suggestions would be greatly appreciated.
> 
> Sandra Logeson
> email: [email protected]
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: Oracle 10g
> Get certified on the hottest thing ever to hit the market... 
> Oracle 10g. 
> Take an Oracle 10g class now, and we'll give you the exam 
> FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user-TtF/[email protected] 
> https://lists.sf.net/lists/listinfo/struts-> menu-user
> 




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
struts-menu-user mailing list
struts-menu-user-TtF/[email protected]
https://lists.sf.net/lists/listinfo/struts-menu-user



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.