# Revision history [back]

I personally try to avoid restarts by using DCEVM (or JRebel if available) however if that's not an option the devtools restart needs to be configured to include the ZK jars during a restart. The functionality is documented here:

A simple config I found working on my side is to add the following:

src/main/resources/META-INF/spring-devtools.properties

restart.include.zklibs=/z[\\w]+-[\\w\\d-\.]+\.jar


it will ensure jars starting with z such as zk-9.5.1.jar or zul-9.5.1.jar are reloaded since ZK relies on static initializers. This is necessary. You might have to customize the regex to exclude non-zk jars also starting with z.

I personally try to avoid restarts by using DCEVM (or JRebel if available) however if that's not an option the devtools restart needs to be configured to include the ZK jars during a restart. The functionality is documented here:

A simple config I found working on my side is to add the following:

src/main/resources/META-INF/spring-devtools.properties

restart.include.zklibs=/z[\\w]+-[\\w\\d-\.]+\.jar


it will ensure jars starting with z such as zk-9.5.1.jar or zul-9.5.1.jar are reloaded since during restart.

This is necessary, because ZK relies on static initializers. This is necessary. initializers - e.g. to load the label properties.

You might have to customize the regex to exclude non-zk jars also starting with z.

I personally try to avoid restarts by using DCEVM DCEVM (or JRebel if available) however

However if that's not an option the devtools restart needs to be configured to include the ZK jars during a restart. The This spring-boot-devtools functionality is documented here:

A simple config I found working on my side is to add the following:

src/main/resources/META-INF/spring-devtools.properties

restart.include.zklibs=/z[\\w]+-[\\w\\d-\.]+\.jar


it will ensure jars starting with z such as zk-9.5.1.jar or zul-9.5.1.jar are reloaded during restart.

This is necessary, because ZK relies on static initializers - e.g. to load the label properties.

You might have to customize the regex to exclude non-zk jars also starting with z.

I personally try to avoid restarts by using DCEVM (or JRebel if available)

However if that's not an option the devtools restart needs to be configured to include the ZK jars during a restart. This spring-boot-devtools functionality is documented here:

A simple config I found working on my side is to add the following:

src/main/resources/META-INF/spring-devtools.properties

restart.include.zklibs=/z[\\w]+-[\\w\\d-\.]+\.jar


it will ensure jars starting with z such as zk-9.5.1.jar or zul-9.5.1.jar are reloaded during restart.

This is necessary, because ZK relies on static initializers - e.g. to load the label properties.

You might have to customize the regex to exclude non-zk jars also starting with z.

Support Options
• Email Support
• Training
• Consulting
• Outsourcing