ZATS with tomcat

asked 2017-08-07 10:49:03 +0800

DarkFoo gravatar image DarkFoo
1 1

I would like to use ZATS, but it is impossible for me to remove all dependencies to the Tomcat jars. Is there workaround to use ZATS and keep Tomcat in the project?

If I start my junit test, then I get NoClassDefFoundError for LogFactory. And this seems to happen because a jar in Jetty should be used, but Tomcat is found.

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted

answered 2017-08-08 01:36:41 +0800

cor3000 gravatar image cor3000
4366 2 7
ZK Team

as you already found ZATS depends on jetty internally. So the conflicting classpath needs to be isolated in order to use it. No way around that, i.e. there's no switch to run ZATS with tomcat.

Depending on your coupling to tomcat libraries you can move your ZATS testcases to a separate module without the conflicting tomcat dependencies.

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




Asked: 2017-08-07 10:49:03 +0800

Seen: 15 times

Last updated: Aug 08 '17

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