Referenced libraries not included while exporting as WAR file from ZK perspective.

asked 2009-12-17 00:54:59 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

I have a library project common for several other projects.

I have included this library (java project) as an external jar file in the ZK projects build path under library tab.

This library have been considered for my development without any issues. But, when I export as WAR, then the library jar was not included in the WAR file. So, I need to manually copy this library jar file to the following location:


Only there after, it was included in the WAR file.

Does we have any other alternative way of exporting the library files automatically with WAR file export option?


delete flag offensive retag edit

2 Replies

Sort by ยป oldest newest

answered 2009-12-17 03:39:57 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16

Try this:

In Eclipse go to your zk project. Right click
--> Properties --> Java EE Module Dependencies

--> add your library project.


link publish delete flag offensive edit

answered 2009-12-17 04:07:34 +0800

baskaraninfo gravatar image baskaraninfo
526 2 2 9

updated 2009-12-17 04:08:22 +0800

Thank you, terrytornado :)

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




Asked: 2009-12-17 00:54:59 +0800

Seen: 669 times

Last updated: Dec 17 '09

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