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

"Sandra Logeson" <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
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(ActionServlet.java:
1156)
	at org.apache.struts.action.ActionServlet.init(ActionServlet.java:472)
	at
org.apache.struts.tiles.ActionComponentServlet.init(ActionComponentServlet.j
ava:104)
	at javax.servlet.GenericServlet.init(GenericServlet.java:256)
	at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:93
5)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
	at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.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.java: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(NativeMethodAccessorImpl.java:39
)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.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
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.