0

我们正在从 JDeveloper 版本10.1.3.1迁移到10.1.3.4。我们将 JDeveloper 10.1.3.4 提取到C:/jdeveloper。但是,在启动时,我们遇到了以下错误:

C:\jdeveloper\jdev\bin>jdev
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/DTD
        at oracle.ide.marshal.xml.Object2Dom.$init$(Object2Dom.java:1512)
        at oracle.ide.marshal.xml.Object2Dom.<init>(Object2Dom.java:107)
        at oracle.ide.marshal.xml.Object2Dom.newInstance(Object2Dom.java:121)
        at oracle.ide.config.IdeSettings.load(IdeSettings.java:366)
        at oracle.ide.IdeCore.loadIdeSettings(IdeCore.java:1304)
        at oracle.ide.IdeCore.getSettings(IdeCore.java:377)
        at oracle.ide.Ide.getSettings(Ide.java:308)
        at oracle.ide.config.ClientSetting.findOrCreate(ClientSetting.java:292)
        at oracle.ideimpl.extension.ExtensionManagerImpl$ExtensionSet.load(Exten
sionManagerImpl.java:1208)
        at oracle.ideimpl.extension.ExtensionManagerImpl.isExtensionEnabled(Exte
nsionManagerImpl.java:1066)
        at javax.ide.extension.ExtensionRegistry$1.isExtensionEnabled(Unknown So
urce)
        at javax.ide.extension.spi.DependencyTree.buildTree(Unknown Source)
        at javax.ide.extension.ExtensionRegistry.loadExtensions(Unknown Source)
        at javax.ide.extension.ExtensionRegistry.initialize(Unknown Source)
        at oracle.ideimpl.extension.ExtensionManagerImpl.initialize(ExtensionMan
agerImpl.java:763)
        at javax.ide.Service.getService(Unknown Source)
        at javax.ide.extension.ExtensionRegistry.getExtensionRegistry(Unknown So
urce)
        at oracle.ide.ExtensionRegistry.getOracleRegistry(ExtensionRegistry.java
:81)
        at oracle.ide.IdeCore.startupImpl(IdeCore.java:1049)
        at oracle.ide.Ide.startup(Ide.java:674)
        at oracle.ideimpl.Main.start(Main.java:49)
        at oracle.ideimpl.Main.main(Main.java:25

以前有人遇到过同样的错误吗?

4

1 回答 1

0

我通过在 JDeveloper 安装中添加一个 lib 目录解决了这个问题。例如: C:/JDeveloper10133/ lib

然后我在 lib 目录中添加了缺少的 jar 文件(xmlparserv2.jar),例如:

C: /JDeveloper101.3.3/lib/xmlparserv2.jar

于 2013-09-03T03:24:30.067 回答