sun的application server的問題

lx_cyh發表於2003-07-18
各位好,我使用sun的application server。安裝成功。但在按照
sun公司提供的《j2ee Tutorial》中使用deploytool安裝hello1.war web module的怎麼也成功不了。

我按照manuanl中的去做,前面均正常。但一到儲存時,就說不能儲存。
我前面使用deploytool的步驟都正確,只是一按save鍵,就出現*.war is corrupt or cannot be read,【sun 已經提供*.war 都可以deploy,但我一使用另存(save as)也出錯】,

當然還是生成了hello1.war檔案,但該檔案是壞的,再開啟時,就看到如下資訊

Error loading E:\Sun\j2ee-1_4-beta2-doc-tutorial\j2eetutorial14\examples\web\hello1\hello1.war: Premature end of file,

我看了一下web.xml大小似乎為0,不知何故?

請求幫助,謝謝!

相關文章