You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Nino Saturnino Martinez Vazquez Wael <ni...@jayway.dk> on 2007/09/14 09:59:02 UTC

Re: wicket 1.2 ---> wicket 1.3 Beta 3 upgrade / java.lang.ClassCastException: wicket.Initializer

I have added the slf4j dependencies from start so I cannot be that which 
are causing it...



Looking at this thread

http://www.nabble.com/remove-test-scope-for-slf4j-in-pom.xml-t3913261.html

and my old thread regarding something possibly different(this is a new 
project):

http://www.nabble.com/wicket-1.3-and-tomcat-5.5-filterStart-severe-error--tf3987012.html#a11408883

regards Nino.


Nino Saturnino Martinez Vazquez Wael wrote:
> Hi
>
> Im trying to upgrade our application to wicket 1.3 comming from 1.2.6, 
> all now compiles fine but at runtime I get an exception in
>
> my application:
>
>    /**
>     * @param properties
>     *            Properties map with names of any library initializers 
> in it
>     */
>    private final void load(final Properties properties)
>    {
>        addInitializer(properties.getProperty("initializer"));
>        addInitializer(properties.getProperty(getName() + 
> "-initializer"));
>    }
>
> I could not find anything about it mentioned in wiki / 
> http://cwiki.apache.org/WICKET/migrate-13.html
>
>
> Exception details:
>
> ain 2007-09-14 09:36:05,334 ERROR [[/PolFotoWebNew]] - <Exception 
> starting filter PolFotoWebNew>
> java.lang.ClassCastException: wicket.Initializer
>    at org.apache.wicket.Application.addInitializer(Application.java:774)
>    at org.apache.wicket.Application.load(Application.java:850)
>    at 
> org.apache.wicket.Application.initializeComponents(Application.java:621)
>    at 
> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:423)
>
>
> regards Nino
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org