【问题标题】:Oracle ADF 10g to 11g migrationOracle ADF 10g 到 11g 的迁移
【发布时间】:2016-02-25 07:32:45
【问题描述】:

我有一个 10g 的 ADF 项目,我想将它迁移到 11g 我收到以下错误:

weblogic.application.ModuleException: VALIDATION PROBLEMS WERE FOUND
  problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'auth-constraint@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee:<null>
  problem: cvc-complex-type.2.4c: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' before the end of the content in element security-constraint@http://java.sun.com/xml/ns/javaee:<null>
    at weblogic.servlet.internal.WebAppModule.createModuleException(WebAppModule.java:1604)
    at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:1358)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:372)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     Truncated. see log file for complete stacktrace
Caused By: weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
  problem: cvc-complex-type.2.4a: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' instead of 'auth-constraint@http://java.sun.com/xml/ns/javaee' here in element security-constraint@http://java.sun.com/xml/ns/javaee:<null>
  problem: cvc-complex-type.2.4c: Expected element 'web-resource-collection@http://java.sun.com/xml/ns/javaee' before the end of the content in element security-constraint@http://java.sun.com/xml/ns/javaee:<null>
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:245)
    at weblogic.descriptor.internal.MarshallerFactory$1.evaluateResults(MarshallerFactory.java:231)
    at weblogic.descriptor.internal.MarshallerFactory$1.createDescriptor(MarshallerFactory.java:155)
    at weblogic.descriptor.BasicDescriptorManager.createDescriptor(BasicDescriptorManager.java:323)
    at weblogic.application.descriptor.AbstractDescriptorLoader2.getDescriptorBeanFromReader(AbstractDescriptorLoader2.java:788)
    Truncated. see log file for complete stacktrace

任何帮助将不胜感激

【问题讨论】:

    标签: oracle oracle11g oracle10g oracle-adf


    【解决方案1】:

    从 web.xml 文件中的 ViewController 和 Model 中删除安全角色后,我已经摆脱了错误。

    【讨论】:

      猜你喜欢
      • 2013-11-10
      • 1970-01-01
      • 2012-09-15
      • 1970-01-01
      • 2018-05-22
      • 1970-01-01
      • 2016-06-20
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多