Blog Archives
Page 1 of 3
1 2 3

5 Ways to debug Java thread-safety issues

Interviewers often judge your experience with debugging skills. For example, debugging jar hell issues, debugging SSL issues, debugging hibernate issues, debugging transaction management issues, etc. All these are covered in detail under the key areas “Key Area – Debug xxxx

How will you debug thread-safety issues in Java?

Read more ›



7 Java debugging interview questions & answers

Q1. How would you go about debugging thread-safety or concurrency issues? A1. #1: Manually reviewing the code for any obvious thread-safety issues. Good knowledge of multi-threading is required. #2: List all possible causes and add extensive log statements and write test cases to prove or disprove your theories. … Read...

Members Only Content
Log In Register Home


Debugging “NoSuchMethodError” in Java

The JAR hell issues also lead to exceptions like NoSuchMethodError or IllegalArgumentException. I have already discussed debugging JAR Hell issues. #1 Check the war file for any duplicate versions of the same jar The Maven’s transivie dependency might bring multiple versions of joda libraries like “ … Read more ›...

Members Only Content
Log In Register Home


Debugging JAR hell issues in Java

The following 3 questions are frequently asked by Java developers as an industrial strength Java project will have 100+ jar files. How often have you come across a Java application that requires different versions of the same library? How often do you see exceptions like NoSuchMethodError or IllegalArgumentException.

Read more ›



Debugging Java version issues

1. Error: Unsupported major.minor version 51.0 error?

What does this error mean?

The above error means what version of the JRE that the class file is compatible with. “org/apache/cxf/management/annotation/ManagedResource” was compiled with based on the following

So, “51” means it is compatible with “J2SE 7 “.

Read more ›



Page 1 of 3
1 2 3

800+ Java Interview Q&As Menu

Top