当我用j2ee deploytool 新建一个war包时,前面都没问题,就是一保存或deploy时报错
“MyHelloService.war is corrupt or cannot be read Use the verifier to determine the cause .
org.xml.sax.SAXParseException: Premature end of file."
我检查发现web.xml为空,我不知怎么解决?
“MyHelloService.war is corrupt or cannot be read Use the verifier to determine the cause .
org.xml.sax.SAXParseException: Premature end of file."
我检查发现web.xml为空,我不知怎么解决?
如果还不行,建议CLEANUP掉后再按照《J2EETutorial》上的步骤重来一次。
一但到Add a resource reference for the database. 布署以后save时就会出现相同的错误。。