Hi,
i wont create an application base with Qwicket examples.
I port all in maven2 project with eclipse, but when i run in eclipse
application i recived this exceptio:
>>> STARTING EMBEDDED JETTY SERVER, PRESS ANY KEY TO STOP
INFO - /geosdiSystem - Loading Spring root
WebApplicationContext
INFO - MLog - MLog clients using log4j logging.
INFO - C3P0Registry - Initializing c3p0-0.9.1.2 [built
21-May-2007 15:04:56; debug? true; trace: 10]
INFO - stractPoolBackedDataSource - Initializing c3p0 pool...
com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3,
acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose
-> false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName ->
com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName ->
2sa1hg7vbzad5r1fg1gda|2394f8, debugUnreturnedConnectionStackTraces ->
false, description -> null, driverClass -> org.postgresql.Driver,
factoryClassLocation -> null, forceIgnoreUnresolvedTransactions ->
false, identityToken -> 2sa1hg7vbzad5r1fg1gda|2394f8,
idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl ->
jdbc:postgresql://localhost/geosdiSystem_db, maxAdministrativeTaskTime
-> 0, maxConnectionAge -> 0, maxIdleTime -> 0,
maxIdleTimeExcessConnections -> 0, maxPoolSize -> 15, maxStatements ->
0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads
-> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery ->
null, properties -> {user=******, password=******}, propertyCycle -> 0,
testConnectionOnCheckin -> false, testConnectionOnCheckout -> false,
unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies ->
false ]
ERROR - log - failed QwicketApplication
java.lang.ClassCastException: wicket.Initializer
at org.apache.wicket.Application.addInitializer(Application.java:755)
at org.apache.wicket.Application.load(Application.java:829)
at
org.apache.wicket.Application.initializeComponents(Application.java:608)
at
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:567)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:220)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at it.nsdi.geosdi.Start.main(Start.java:35)
ERROR - log - Failed startup of context
[EMAIL PROTECTED]/geosdiSystem,src/main/webapp}
java.lang.ClassCastException: wicket.Initializer
at org.apache.wicket.Application.addInitializer(Application.java:755)
at org.apache.wicket.Application.load(Application.java:829)
at
org.apache.wicket.Application.initializeComponents(Application.java:608)
at
org.apache.wicket.protocol.http.WicketFilter.init(WicketFilter.java:567)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:220)
at
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at it.nsdi.geosdi.Start.main(Start.java:35)
What is the problem?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]