[英]Oracle ADF 10g to 11g migration
I have an ADF project in 10g, and i want to migrate it to 11g i am getting the following errors: 我有一个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
any help would be appreciated 任何帮助,将不胜感激
从web.xml文件中的ViewController和Model中删除安全角色后,我摆脱了该错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.