Karteikarten
Logging
Karten in diesem Stapel (5)
- 1Welche Logging Levels gibt esSevere
Warning
Info
Config
Fine
Finer
Finest - 2Debugging Exceptions - ClassNotFoundExceptionCause: Class we are trying to use is not present on the classpath
Missing class -> if the class we are referencing is not present in any of the directories or jar files on the class path
Incorrect path -> Even if the class exists if the path specified in our code to access it is incorrect the JVM wont find it
Conflicting Jars -> In rare cases if we have multiple jar files with the same class name but different implementations the jvm might pick the wrong one - 3Was ist class path?it is a directory structure that the java virtual machine searches for classes and libraries when running our program
- 4ClassCastExceptionCause: Cast an object to a type its not actually an instance of
- 5NullPointerExceptionnulll reference is used in a piece of code that expects a non null value
Informationen
- Beschreibung
- Karteikarten am Logging , erstellt von BLU BLU am 11/02/2025.
- Erstellt von
- BLU BLU
- Aufrufe
- 1
- Bewertung