问题
While writing a program to connect to Oracle 10g, I got an error
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/dms/instrument/ExecutionContextForJDBC
I understand that particular JAR file is missing. I have added ojdbc14dms.jar
, still the issue persists. I explored that the class ExecutionContextForJDBC
is available only in "dms.jar
but unfortunately I am unable to locate any link through which I can download it.
回答1:
The dms.jar can be found on an installed oracle product. You will not find this jar, for example, in the oracle 11g Xpress Edition. You need to go to the commercial versions to find it.
来源:https://stackoverflow.com/questions/16982945/unable-to-find-dms-jar-online-to-download