简体   繁体   中英

Does the Class-Path in the MANIFEST.MF can only include jar Files?

I want to include class files in other directories, not the directory of the main class.

If I put these directories into the Class-Path property of MANIFEST.MF it doesn't work.

Why? Is there any solution except packing these classes into a jar File?

A trailing slash would be required as mentioned in this link:

Class-Path Attribute

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM