My Oracle Support Banner

Windows マシンで 11.2.0.4 Database Control の作成が次のエラーで失敗する "java.lang.UnsupportedClassVersionError: Bad version number in .class file" (Doc ID 2252355.1)

Last updated on JULY 23, 2019

適用範囲:

Enterprise Manager for Oracle Database - バージョン 11.2.0.4 以降
この文書の内容はすべてのプラットフォームに適用されます。
本文書利用上のご注意
  本文書は英語の文書 <Document 2180501.1> (最終メジャー更新日: 2016年09月07日) の日本語翻訳版です。
  英語の文書のメジャー更新に応じて本文書を随時更新いたします。

現象

Windows 64bit マシンで 11.2.0.4 Database Control の作成が以下のエラーで失敗する:
================
> emca -config dbcontrol db -repos create

.
.
Sep 7, 2016 9:54:44 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error uploading configuration data to the repository
Sep 7, 2016 9:54:44 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error uploading configuration data to the repository
Refer to the log file at <ORACLE_BASE>\cfgtoollogs\emca\<SID>\<timestamp>.log for more details.
Could not complete the configuration. Refer to the log file at <ORACLE_BASE>\cfgtoollogs\emca\<SID>\<timestamp>.log for more details.
======================

<ORACLE_BASE>\cfgtoollogs\emca\<SID>\emca_repos_config_<date>.log ファイルより:
=================
Sep 7, 2016 9:54:44 AM oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance run
SEVERE: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:592)
at oracle.sysman.emdrep.config.EMSchemaConfiguration$ConfigInstance.run(EMSchemaConfiguration.java:469)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
==========================

原因

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


本書の内容
現象
原因
解決策
参照情報

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.