簡體   English   中英

從Oracle ADF 10g到11g的遷移

[英]Oracle ADF 10g to 11g migration

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

任何幫助,將不勝感激

從web.xml文件中的ViewController和Model中刪除安全角色后,我擺脫了該錯誤。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM