Oracle ADF 10g到11g的迁移

时间:2016-02-25 07:32:46

标签: oracle oracle11g oracle10g oracle-adf

我有一个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

任何帮助将不胜感激

1 个答案:

答案 0 :(得分:0)

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