您必须在恰好 70 个字符后中断。否则,下一行将不会被视为上一行的延续。应该有一个 所有换行中的前导空格, 每行的前导空格与“Class-path:”不同。并且不要忘记在所有内容的末尾添加一个新行! 这是宣言的一个例子。
Manifest-Version: 1.0 Main-Class: xyz.HelloWorldMain Class-Path: ./lib/log4j-1.2.15.jar ./lib/commons-logging-1.1.1.jar ./l ib/jstl-1.2.jar ./lib/jstl.jar ./lib/log4j-1.2.15.jar ./lib/org.sprin gframework.aop-3.0.2.RELEASE.jar ./lib/org.springframework.asm-3.0.2. RELEASE.jar ./lib/org.springframework.aspects-3.0.2.RELEASE.jar ./lib /org.springframework.beans-3.0.2.RELEASE.jar ./lib/org.springframewor k.context-3.0.2.RELEASE.jar ./lib/org.springframework.context.support -3.0.2.RELEASE.jar ./lib/org.springframework.core-3.0.2.RELEASE.jar . /lib/org.springframework.expression-3.0.2.RELEASE.jar ./lib/org.sprin gframework.instrument-3.0.2.RELEASE.jar ./lib/org.springframework.ins trument.tomcat-3.0.2.RELEASE.jar ./lib/org.springframework.jdbc-3.0.2 .RELEASE.jar ./lib/org.springframework.jms-3.0.2.RELEASE.jar ./lib/or g.springframework.orm-3.0.2.RELEASE.jar ./lib/org.springframework.oxm -3.0.2.RELEASE.jar ./lib/org.springframework.test-3.0.2.RELEASE.jar . /lib/org.springframework.transaction-3.0.2.RELEASE.jar ./lib/org.spri ngframework.web-3.0.2.RELEASE.jar ./lib/org.springframework.web.portl et-3.0.2.RELEASE.jar ./lib/org.springframework.web.servlet-3.0.2.RELE ASE.jar ./lib/org.springframework.web.struts-3.0.2.RELEASE.jar .

发表回复