shenzhang 发表于 2017-2-16 08:54:17

weblogic发布程序时报错

  javax.enterprise.deploy.spi.exceptions.InvalidModuleException: Failed to create DDBeanRoot for application
  可能是web.xml出错了,检查并修改程序的web.xml。我的程序出现该问题的原因是web.xml中多了下面红色部分的东西,删除红色部分,一切OK!
  <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<!ELEMENT web-app (icon?, display-name?, description?, distributable?,
context-param*, filter*, filter-mapping*, listener*, servlet*,
servlet-mapping*, session-config?, mime-mapping*, welcome-file-list?,
error-page*, taglib*, resource-env-ref*, resource-ref*, security-constraint*,
login-config?, security-role*, env-entry*, ejb-ref*,  ejb-local-ref*)>
页: [1]
查看完整版本: weblogic发布程序时报错