0

zk + maven + spring

asked 2006-11-13 18:28:25 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4010589

By: nobody

i have a problem integrating zk with maven & spring.

in my web.xml i add the following code to the code that work without zk:
<filter>
<filter-name>zkFilter</filter-name>
<filter-class>com.potix.zk.ui.http.DHtmlLayoutFilter</filter-class>
<init-param>
<param-name>extension</param-name>
<param-value>html</param-value> <!-- Use XHTML components as default. -->
</init-param>
</filter>
<filter-mapping>
<filter-name>zkFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>

in pom.xml i added dependecies like this:
<dependency>
<groupId>zkoss</groupId>
<artifactId>zk</artifactId>
<version>2.1.2</version>
<scope>system</scope>
<systemPath> ~/.m2/repository/zkoss/zk/2.1.2/zk-2.1.2.jar
</systemPath>
</dependency>
one for each jar (changing only <artifactId> and <systemPath>)

when i run my maven project on jetty embedded the error is:

:WARN: failed zkFilter
:WARN: failed ContextHandler@fc9e7e{/plinio-webapp,file:/D:/Documenti_Andrea/wo
rkspace/plinio-webapp/src/main/webapp/}
:WARN: failed ContextHandlerCollection@1c118ae
:WARN: failed HandlerCollection@3b84ee
:WARN: failed SelectChannelConnector @ 0.0.0.0:8080
:WARN: failed Server@1d6f84a

i can't understand !
any idea is welcome
thanks



delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2006-11-13 19:34:35 +0800

admin gravatar image admin
18691 1 10 130
ZK Team


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4010679

By: nobody

ah then it said also
Embedded error: org.zkoss.zk.ui.http.DHtmlLayoutFilter

what does it mean
????

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-11-13 18:28:25 +0800

Seen: 297 times

Last updated: Nov 13 '06

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More