1

我目前正在研究 Oracle Adf,目前正在尝试安装 Oracle Fusion 演示应用程序,打开 Infrastructure.jws 并在 build.xml 上运行 buildAll,给我以下警告和错误

Oct 3, 2013 5:25:21 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Oct 3, 2013 5:25:22 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:25 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. cvc-complex-type.2.4.b: The content of element 'propertySets' is not complete. One of '{"http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd":propertySet}' is expected. Location: unavailable.
Oct 3, 2013 5:25:26 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.
Oct 3, 2013 5:25:27 PM oracle.security.jps.internal.common.util.StrictValidationEventHandler handleEvent
WARNING: Failed to validate the xml content. SchemaLocation: schemaLocation value = 'http://xmlns.oracle.com/oracleas/schema/11/jps-config-11_1.xsd' must have even number of URI's. Location: unavailable.

出现以下错误

Buildfile: C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\build.xml

init:
    [javac] Compiling 1 source file to C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\classes

setProperties:

createDatabase:

refreshSchema:

BUILD FAILED
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:100: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:63: The following error occurred while executing this line:
C:\JDeveloper\mywork\FusionOrderDemo\Infrastructure\DBSchema\build.xml:28: C:\Oracle2\Middleware\jdeveloper\wlserver_10.3\server\lib not found.

Total time: 4 seconds

以上是警告和错误,任何人都可以帮我解决这个问题。谢谢。

问候, Furqan Ahmed。

4

2 回答 2

1

尝试将 jdeveloper 主页更改为

jdeveloper.home=C:/Oracle/Middleware/jdeveloper

它对我有用

于 2013-10-05T18:12:22.717 回答
1

库查找的基本目录

jdeveloper.home=C:/oracle/Middleware/jdeveloper

请注意,我使用/而不是\您使用。如果您将属性设置为正确的值,我测试了脚本并且它们可以工作。

https://community.oracle.com/thread/2325005?start=0&tstart=0

于 2014-02-25T00:23:32.980 回答