What is the difference between ClassNotFoundException and ClassDefNotFoundException I know that both are subclass of Exception.
Got some explanation for ClassNotFoundException from this question. What is the difference between NoClassDefFoundError and ClassNotFoundException?
I read Java doc for ClassDefNotFoundException and it says:
ClassDefNotFoundException is thrown when the definition of a class cannot be found be the OWB typing system.
Please elaborate above statement, I am unaware of OWB typing system. And what exactly is the difference between both the classed and when these Exceptions are raised.
ClassNotFoundException is a core Java exception.
ClassDefNotFoundException is an "Oracle Warehouse Builder" exception (which in all likelihood just wraps a ClassNotFoundException).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With