Exception when loading a Custom ZK 7 Theme made with Theme Roller

asked 2014-07-09 09:59:10 +0800

Neus gravatar image Neus
1415 14

updated 2014-07-09 12:52:24 +0800

Hi, I made a custom theme using ThemeRoller for ZK 7. I'm trying to load it in my application the same way I dit with ZK 6:

Themes.setTheme(Executions.getCurrent(), Turquesa)

When I made it with ThemeRoller I set both Theme name and display name to Turquesa. When I downloaded it it was downloaded as turquesa.jar (first letter in lower case)

I put that jar in my application lib folder but when I try to load it the way I mentioned before an exception occurs several times:

Grave: Failed to load the resource: /turquesa/js/zul/layout/css/borderlayout.css.dsp
jul 09, 2014 12:01:49 PM org.zkoss.zk.ui.http.WcsExtendlet service
Grave: Unable to load ~./turquesa/js/zul/layout/css/borderlayout.css.dsp
java.io.FileNotFoundException: Failed to load the resource: /turquesa/js/zul/layout/css/borderlayout.css.dsp
at org.zkoss.web.util.resource.DspExtendlet.service(DspExtendlet.java:85)
at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
at org.zkoss.web.util.resource.ClassWebResource$CWC.include(ClassWebResource.java:811)
at org.zkoss.zk.ui.http.WcsExtendlet.service(WcsExtendlet.java:131)
at org.zkoss.web.util.resource.ClassWebResource.web0(ClassWebResource.java:585)
at org.zkoss.web.util.resource.ClassWebResource.web(ClassWebResource.java:571)
at org.zkoss.web.util.resource.ClassWebResource.service(ClassWebResource.java:262)
at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:427)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:931)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)

And this exceptions appears for a lot of components

I rename the jar to Turquesa.jar (with capital letter) but the same is happening.

So....how can I load custom themes made with ZK 7 Theme Roller?

Thank you!


I created a Theme in Eclipse using Maven project as explained here and it works fine! It seems taht the problem only occurs with Themes created with ZK 7 Theme Roller

delete flag offensive retag edit


Can you try modify the theme name to lower case in turquesa.jar!/metainfo/zk/config.xml file and then Themes.setTheme(Executions.getCurrent(), "turquesa")

vincentjian ( 2014-07-09 11:12:01 +0800 )edit

it is already in lower case

Neus ( 2014-07-09 11:35:44 +0800 )edit

I tried to generate it again setting Theme name and Display name in ThemeRoller all with lowercase to make sure it is not a naming problem but the same is occurring

Neus ( 2014-07-09 11:44:23 +0800 )edit

It seems that is a problem with ZK Theme Roller as I explained in the edited post. It's a pitty because it is a really good and handy tool

Neus ( 2014-07-09 12:51:44 +0800 )edit

Can you try using library-property to check if the problem remains?

vincentjian ( 2014-07-10 08:27:35 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-11-23 19:12:15 +0800

Darksu gravatar image Darksu
1991 1 4

Hello Neus,

Could you please generate the theme and apply it using the instructions posted in the following url?


I have used it multiple times with success.

Best Regards,


link publish delete flag offensive edit
Your answer
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

1 follower



Asked: 2014-07-09 09:59:10 +0800

Seen: 22 times

Last updated: Nov 23 '14

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