After you create a web project in myeclipse and deploy it on WebLogic, an error is returned:
<Unable to load descriptor D:/BEA/user_projects/domains/base_domain /. /autodeploy/demo/WEB-INF/web. XML of module webproject. the error is weblogic. descriptor. descriptorexception: unmarshaller failed
At weblogic. descriptor. Internal. marshallerfactory $1. createdescriptor
Caused by: COM. Bea. xml. xmlexception: failed to load Java type corresponding to E = web-app @ http://java.sun.com/xml/ns/javaee
At com. Bea. staxb. runtime. Internal. unmarshalresult. getpojobindingtype
......
Solution:
Weblogic9.2 does not support using myeclipse to automatically generate Web. xml of Version 2.5, as shown below:
<Web-app version = "2.5"
Xmlns = "http://java.sun.com/xml/ns/javaee"
Xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance"
Xsi: schemalocation = "http://java.sun.com/xml/ns/javaee
Http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
Create a project using j2ee1.4
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/phoenix_17th/archive/2009/06/27/4303060.aspx