You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Trent Larson <la...@gmail.com> on 2009/03/18 23:41:38 UTC

wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

I'm trying to use the wicketstuff-jmx-panel component as simply as possible:

   add(new JmxPanel("jmx"));

But I get a strange error about a method that doesn't exist:

    ....
Caused by: java.lang.NoSuchMethodError:
org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
    at
org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.<init>(JmxTreePanel.java:33)
    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:113)
    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:94)
    ....

I call it strange because I'm using 1.4-m3, which appears to have the
MarkupContainer.add(Component...) method, so I cannot figure out what it's
trying to tell me.

So is anyone using this in 1.4?  Any idea why it's complaining about "no
such method"?

Thanks!
Trent

Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

Posted by Giovanni <pi...@yahoo.com>.
Gerolf, I solved the problem.

It was my wrong configuration of libraries on tomcat.

regards
giovanni




________________________________
From: Gerolf Seitz <ge...@gmail.com>
To: users@wicket.apache.org
Sent: Wed, December 30, 2009 1:36:56 PM
Subject: Re: wicketstuff-jmx-panel in Wicket 1.4, missing a  MarkupContainer.add(Component) ?

i will try to find some time to take a look at it tonight.

  gerolf

On Wed, Dec 30, 2009 at 11:51 AM, Giovanni <pi...@yahoo.com> wrote:

> I got the same error today, trying to use the JmxPanel with Wicket 1.3.7.
>
> Any idea about how to solve this issue?
>
> I would really like to use the JmxPanel in my application.
>
> Best regards,
> giovanni
>
>
>
>
>
>
> ________________________________
> From: Trent Larson <la...@gmail.com>
> To: users@wicket.apache.org
> Sent: Wed, March 18, 2009 11:41:38 PM
> Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a
> MarkupContainer.add(Component)  ?
>
> I'm trying to use the wicketstuff-jmx-panel component as simply as
> possible:
>
>   add(new JmxPanel("jmx"));
>
> But I get a strange error about a method that doesn't exist:
>
>    ....
> Caused by: java.lang.NoSuchMethodError:
>
> org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
>    at
>
> org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.<init>(JmxTreePanel.java:33)
>    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:113)
>    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:94)
>    ....
>
> I call it strange because I'm using 1.4-m3, which appears to have the
> MarkupContainer.add(Component...) method, so I cannot figure out what it's
> trying to tell me.
>
> So is anyone using this in 1.4?  Any idea why it's complaining about "no
> such method"?
>
> Thanks!
> Trent
>
>
>
>
>



      

Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

Posted by Gerolf Seitz <ge...@gmail.com>.
i will try to find some time to take a look at it tonight.

  gerolf

On Wed, Dec 30, 2009 at 11:51 AM, Giovanni <pi...@yahoo.com> wrote:

> I got the same error today, trying to use the JmxPanel with Wicket 1.3.7.
>
> Any idea about how to solve this issue?
>
> I would really like to use the JmxPanel in my application.
>
> Best regards,
> giovanni
>
>
>
>
>
>
> ________________________________
> From: Trent Larson <la...@gmail.com>
> To: users@wicket.apache.org
> Sent: Wed, March 18, 2009 11:41:38 PM
> Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a
> MarkupContainer.add(Component)  ?
>
> I'm trying to use the wicketstuff-jmx-panel component as simply as
> possible:
>
>   add(new JmxPanel("jmx"));
>
> But I get a strange error about a method that doesn't exist:
>
>    ....
> Caused by: java.lang.NoSuchMethodError:
>
> org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
>    at
>
> org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.<init>(JmxTreePanel.java:33)
>    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:113)
>    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:94)
>    ....
>
> I call it strange because I'm using 1.4-m3, which appears to have the
> MarkupContainer.add(Component...) method, so I cannot figure out what it's
> trying to tell me.
>
> So is anyone using this in 1.4?  Any idea why it's complaining about "no
> such method"?
>
> Thanks!
> Trent
>
>
>
>
>

Re: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component) ?

Posted by Giovanni <pi...@yahoo.com>.
I got the same error today, trying to use the JmxPanel with Wicket 1.3.7.

Any idea about how to solve this issue?

I would really like to use the JmxPanel in my application.

Best regards,
giovanni






________________________________
From: Trent Larson <la...@gmail.com>
To: users@wicket.apache.org
Sent: Wed, March 18, 2009 11:41:38 PM
Subject: wicketstuff-jmx-panel in Wicket 1.4, missing a MarkupContainer.add(Component)  ?

I'm trying to use the wicketstuff-jmx-panel component as simply as possible:

   add(new JmxPanel("jmx"));

But I get a strange error about a method that doesn't exist:

    ....
Caused by: java.lang.NoSuchMethodError:
org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.add(Lorg/apache/wicket/Component;)Lorg/apache/wicket/MarkupContainer;
    at
org.wicketstuff.jmx.markup.html.tree.JmxTreePanel.<init>(JmxTreePanel.java:33)
    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:113)
    at org.wicketstuff.jmx.markup.html.JmxPanel.<init>(JmxPanel.java:94)
    ....

I call it strange because I'm using 1.4-m3, which appears to have the
MarkupContainer.add(Component...) method, so I cannot figure out what it's
trying to tell me.

So is anyone using this in 1.4?  Any idea why it's complaining about "no
such method"?

Thanks!
Trent