When a new web project in myeclipse is deployed to WebLogic, an error is reported when it is started.

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.