That's kinda what I was gettin' at. :)
On Wed, Sep 17, 2008 at 9:37 PM, King Of All Germans
<[EMAIL PROTECTED]> wrote:
> I got this error when I upgraded from 1.3 to 1.4.In my case, the reason was
> that I had placed the new wicket jars into the WEB-INF/lib directory, but
> had accidentally not removed all of the old ones.
>
> On Wed, Sep 17, 2008 at 6:27 PM, James Carman <[EMAIL PROTECTED]>wrote:
>
>> What's in your WEB-INF/lib folder? Do you have conflicting versions
>> of the SpringComponentInjector? Are you using maven? If so, try mvn
>> dependency:tree or mvn dependency:list to see what your classpath
>> looks like.
>>
>> On Wed, Sep 17, 2008 at 8:05 PM, bryan0101 <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> > I have a small webapp in dev. Been working good in 1.3.4. I just tried
>> it
>> > out with 1.4m3 today, and is throwing a spring error.
>> > I notice now the annotat package are incorporated into the spring
>> > package, but that shouldn't affect the webapp.
>> >
>> > Here is the Exception:
>> > ebApplicationContext(204) | Published root WebApplicationContext as
>> > ServletContext attribute with name
>> > [org.springframework.web.context.WebApplicationContext.ROOT]
>> > INFO - ContextLoader.initWebApplicationContext(209) | Root
>> > WebApplicationContext: initialization completed in 7890 ms
>> > Sep 17, 2008 4:57:59 PM org.apache.catalina.core.StandardContext
>> filterStart
>> > SEVERE: Exception starting filter SecWebApplication
>> > java.lang.NoSuchMethodError: org.apache.wicket.MetaDataKey: method
>> <init>()V
>> > not found
>> > at
>> >
>> org.apache.wicket.spring.injection.annot.SpringComponentInjector$1.<init>(SpringComponentInjector.java:56)
>> > at
>> >
>> org.apache.wicket.spring.injection.annot.SpringComponentInjector.<clinit>(SpringComponentInjector.java:53)
>> > at
>> com.cookwok.http.web.SecWebApplication.init(SecWebApplication.java:60)
>> > at
>> org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:561)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
>> > at
>> >
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
>> > at
>> >
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3693)
>> > at
>> > org.apache.catalina.core.StandardContext.start(StandardContext.java:4340)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>> > at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>> > at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
>> > at
>> >
>> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
>> > at
>> >
>> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
>> > at
>> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>> > at
>> org.apache.catalina.startup.HostConfig.check(HostConfig.java:1206)
>> > at
>> >
>> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
>> > at
>> >
>> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
>> > at
>> >
>> org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
>> > at java.lang.Thread.run(Thread.java:619)
>> >
>> >
>> -----------------------------------------------------------------------------
>> > Here is the application class extends webapplication:
>> >
>> > public final class SecWebApplication extends WebApplication
>> > {
>> >
>> > public SecWebApplication()
>> > {
>> > }
>> >
>> > public Class getHomePage()
>> > {
>> > return SecSignIn.class;
>> > }
>> >
>> > protected void init()
>> > {
>> >
>> > addComponentInstantiationListener(new
>> SpringComponentInjector(this));
>> > configure();
>> > ......
>> >
>> >
>> ----------------------------------------------------------------------------------------
>> > Here is my web.xml:
>> > <?xml version="1.0" encoding="UTF-8"?>
>> > <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>> > xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>> > http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4">
>> >
>> > <display-name>cookwok</display-name>
>> >
>> > <!-- [INSERT FRAGMENT HERE] -->
>> > <!-- Define the basename for a resource bundle for I18N -->
>> > <context-param>
>> >
>> > <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
>> > <param-value>messages</param-value>
>> > </context-param>
>> > <context-param>
>> > <param-name>configuration</param-name>
>> > <param-value>development</param-value>
>> > </context-param>
>> >
>> >
>> > <filter>
>> > <filter-name>SecWebApplication</filter-name>
>> >
>> > <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
>> > <init-param>
>> > <param-name>applicationClassName</param-name>
>> >
>> > <param-value>com.cookwok.http.web.SecWebApplication</param-value>
>> > </init-param>
>> > <init-param>
>> > <param-name>configuration</param-name>
>> > <param-value>development</param-value>
>> > </init-param>
>> > <load-on-startup>1</load-on-startup>
>> > </filter>
>> >
>> >
>> > <filter-mapping>
>> > <filter-name>SecWebApplication</filter-name>
>> > <url-pattern>/app/*</url-pattern>
>> > </filter-mapping>
>> >
>> > <filter>
>> > <filter-name>encodingFilter</filter-name>
>> >
>> >
>> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
>> > <init-param>
>> > <param-name>encoding</param-name>
>> > <param-value>UTF-8</param-value>
>> > </init-param>
>> > <init-param>
>> > <param-name>forceEncoding</param-name>
>> > <param-value>true</param-value>
>> > </init-param>
>> > </filter>
>> >
>> >
>> > <context-param>
>> > <param-name>contextConfigLocation</param-name>
>> > <param-value>/WEB-INF/applicationContext*.xml</param-value>
>> > </context-param>
>> >
>> > <filter-mapping>
>> > <filter-name>encodingFilter</filter-name>
>> > <url-pattern>/*</url-pattern>
>> > </filter-mapping>
>> >
>> >
>> >
>> >
>> > <listener>
>> >
>> >
>> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
>> > </listener>
>> >
>> > <welcome-file-list>
>> > <welcome-file>index.html</welcome-file>
>> > </welcome-file-list>
>> >
>> > <error-page>
>> > <error-code>404</error-code>
>> > <location>/404.jsp</location>
>> > </error-page>
>> >
>> > <error-page>
>> > <error-code>500</error-code>
>> > <location>/error.jsp</location>
>> > </error-page>
>> > </web-app>
>> > --
>> > View this message in context:
>> http://www.nabble.com/upgraded-to-1.4m3-SpringComponentInjector-exception-tp19543644p19543644.html
>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>> >
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [EMAIL PROTECTED]
>> > For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]