You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Teerapong Suksuwan <tr...@gmail.com> on 2008/12/12 08:38:09 UTC
Re: Reloading resource
I've found the solution of this problem in my case.
I found that resource watcher is using slf4j can't work due to this error
java.lang.NoSuchMethodError: org.apache.log4j.Logger.isTraceEnabled()Z
at
org.slf4j.impl.Log4jLoggerAdapter.isTraceEnabled(Log4jLoggerAdapter.java:81)
at org.apache.wicket.util.thread.Task$1.run(Task.java:107)
at java.lang.Thread.run(Thread.java:595)
So I check in my log4j lib and found that Logger.isTraceEnabled() is not
exists.
I checked my log4j version, it is 1.2.9. ...... and blah blah blah I found
that version 1.2.15 have this method. So I upgrade to log4j 1.2.15 and then
the problem solved.
Hope you got the same case and can solve it with this solution.
:) ^^
gantini wrote:
>
> I'm very new with Wicket.
> It is possible to automatically reload resource (class and HTML file) ?
>
> I've set:
>
> @Override
> protected void init() {
> getResourceSettings().setResourcePollFrequency( Duration.ONE_SECOND );
> }
>
> but this don't work for me.
> Thanks.
>
--
View this message in context: http://www.nabble.com/Reloading-resource-tp15268997p20971125.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org