The menu repository could not be found.

View: New views
8 Messages — Rating Filter:   Alert me  

The menu repository could not be found.

by piampri :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I'm getting an error on trying to use the struts-menu. Here it is :

javax.servlet.jsp.JspException: The menu repository could not be found.
        at net.sf.navigator.taglib.UseMenuDisplayerTag.doStartTag(UseMenuDisplayerTag.java:140)
        at jsp_servlet.__pia._jspService(pia.jsp:5)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
        at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
        at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
        at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
        at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

Not sure why this is happening. Why can't it find the repository ?

Re: The menu repository could not be found.

by Matt Raible-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have commons-lang in your classpath?

Matt

On 10/17/06, piampri <piampri@...> wrote:

>
> Hi,
>
> I'm getting an error on trying to use the struts-menu. Here it is :
>
> javax.servlet.jsp.JspException: The menu repository could not be found.
>         at
> net.sf.navigator.taglib.UseMenuDisplayerTag.doStartTag(UseMenuDisplayerTag.java:140)
>         at jsp_servlet.__pia._jspService(pia.jsp:5)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
>         at
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:463)
>         at
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315)
>         at
> weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
>         at
> weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
>         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
>         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
>
> Not sure why this is happening. Why can't it find the repository ?
>
> --
> View this message in context: http://www.nabble.com/The-menu-repository-could-not-be-found.-tf2459638.html#a6855443
> Sent from the struts-menu-user mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> 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
> struts-menu-user@...
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>


--
http://raibledesigns.com

-------------------------------------------------------------------------
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
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: The menu repository could not be found.

by salvatore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, this is my first post here, I've the same "old problem"...

I've followed the FAQ from site, and put all configuration file at the right place, so I can't understand what's wrong. Someone can help me? I'm using java 1.5, tomcat 5.5 (I can't find log file...!!)
The error is: "javax.servlet.ServletException: The menu repository could not be found."
I have:

* inserted the jar in the web-inf/ lib
* added the menu-config.xml file in web-inf
* added the plug-in declaration in struts -config.xml
* added in my jsp the taglib declaration and the menu tag.
* added commons-lang.jar to my project (on Eclipse 3.2)

This is my jsp file:

<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
<%@ taglib uri="http://struts-menu.sf.net/tag-el" prefix="menu-el" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>Example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" media="screen" href="styles/global.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="styles/tabs.css" />    
    <script type="text/javascript" src="scripts/tabs.js"></script>
</head>
<body>

<menu:useMenuDisplayer name="TabbedMenu" >
    <menu:displayMenu name="TabbedHome"/>
    <menu:displayMenu name="TabbedAbout"/>
    <menu:displayMenu name="TabbedContact"/>
    <menu:displayMenu name="TabbedExit"/>
</menu:useMenuDisplayer>

Someone knows what could I try to do? thank you :)

Re: The menu repository could not be found.

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you deploy the sample application?

http://tinyurl.com/ytqacs

Matt

On 6/25/07, salvatore <sayhem@...> wrote:

>
> Hi, this is my first post here, I've the same "old problem"...
>
> I've followed the FAQ from site, and put all configuration file at the right
> place, so I can't understand what's wrong. Someone can help me? I'm using
> java 1.5, tomcat 5.5 (I can't find log file...!!)
> The error is: "javax.servlet.ServletException: The menu repository could not
> be found."
> I have:
>
> * inserted the jar in the web-inf/ lib
> * added the menu-config.xml file in web-inf
> * added the plug-in declaration in struts -config.xml
> * added in my jsp the taglib declaration and the menu tag.
> * added commons-lang.jar to your project.
>
> This is my jsp file:
>
> <%@ page contentType="text/html; charset=UTF-8" %>
> <%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu" %>
> <%@ taglib uri="http://struts-menu.sf.net/tag-el" prefix="menu-el" %>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
> <head>
>     <title>Example</title>
>     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>     <link rel="stylesheet" type="text/css" media="screen"
> href="styles/global.css" />
>     <link rel="stylesheet" type="text/css" media="screen"
> href="styles/tabs.css" />
>     <script type="text/javascript" src="scripts/tabs.js"></script>
> </head>
> <body>
>
> <menu:useMenuDisplayer name="TabbedMenu" >
>     <menu:displayMenu name="TabbedHome"/>
>     <menu:displayMenu name="TabbedAbout"/>
>     <menu:displayMenu name="TabbedContact"/>
>     <menu:displayMenu name="TabbedExit"/>
> </menu:useMenuDisplayer>
>
> Someone knows what could I try to do? thank you :)
> --
> View this message in context: http://www.nabble.com/The-menu-repository-could-not-be-found.-tf2459638.html#a11289591
> Sent from the struts-menu-user mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user@...
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>


--
http://raibledesigns.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: The menu repository could not be found.

by salvatore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No, Eclipse says that this project can't be deployed ... I'm having some "little" problem today ... :/


mraible wrote:
Can you deploy the sample application?

http://tinyurl.com/ytqacs

Matt

On 6/25/07, salvatore <sayhem@gmail.com> wrote:[...]

Re: The menu repository could not be found.

by mraible :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You shouldn't need to use Eclipse to deploy a WAR file - just start
Tomcat and drop it into the webapps directory.

Matt

On 6/25/07, salvatore <sayhem@...> wrote:

>
> No, Eclipse says that this project can't be deployed ... I'm having some
> "little" problem today ... :/
>
>
>
> mraible wrote:
> >
> > Can you deploy the sample application?
> >
> > http://tinyurl.com/ytqacs
> >
> > Matt
> >
> > On 6/25/07, salvatore <sayhem@...> wrote:[...]
> >
>
> --
> View this message in context: http://www.nabble.com/The-menu-repository-could-not-be-found.-tf2459638.html#a11290129
> Sent from the struts-menu-user mailing list archive at Nabble.com.
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> struts-menu-user mailing list
> struts-menu-user@...
> https://lists.sourceforge.net/lists/listinfo/struts-menu-user
>


--
http://raibledesigns.com

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
struts-menu-user mailing list
struts-menu-user@...
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Re: The menu repository could not be found.

by salvatore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok... sorry but I've not much experience on that...
it seems there's some problem with tomcat, I suppose, 'cause don't work (The requested resource (/) is not available.)

mraible wrote:
You shouldn't need to use Eclipse to deploy a WAR file - just start
Tomcat and drop it into the webapps directory.

Matt
[...]

Re: The menu repository could not be found.

by salvatore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My problem is with Tomcat, 'cause I can't display the intro page from url http://localhost:8080 starting server with eclipse. In fact, I can't deploy .war file ...
LightInTheBox - Buy quality products at wholesale price!