When we are working with REST services, it can be very useful for debugging to be able to log both the request and the response info. We can do this very easy just by adding an interceptor in our project.
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import...
RECENTLY MOST VIEWS
-
At the time of ` mvn clean install ` if you are getting...
-
At the time of ` mvn clean install ` if you are getting...
-
When we are working with REST services, it can be very...
-
Now a days deploying Spring Boot application is quite...
-
First of all, there is a big question "Why we need to...
-
Sometimes, There are the tables that are being...
-
At the time of ` mvn clean install ` if you are getting...
MOST POPULAR
-
Sometimes, There are the tables that are being...
-
First of all, there is a big question "Why we need to...
-
Now a days deploying Spring Boot application is quite...
-
When we are working with REST services, it can be very...
-
At the time of ` mvn clean install ` if you are getting...
Blog Archive
-
▼
2020
(11)
-
▼
August
(6)
- How to Log RestTemplate Request Response without d...
- java.lang.AssertionError: UnsupportedOperationExce...
- java.io.FileNotFoundException while using classLoa...
- The forked VM terminated without properly saying g...
- Caused by: java.lang.ClassNotFoundException: com.s...
- Fatal error compiling: java.lang.ExceptionInInitia...
-
▼
August
(6)
About
Hello ALTAF
About Me
Powered by Blogger.
Saturday, August 29, 2020
Thursday, August 13, 2020
java.lang.AssertionError: UnsupportedOperationException: Cannot define class using reflection

Problem:If you are using EqualsVerifier for JUnit tesing purpose then there may be a chance you can get this error.java.lang.AssertionError: UnsupportedOperationException: Cannot define class using reflectionSolution:To overcome this error we just have to use the upper version of equalsverifier...
java.io.FileNotFoundException while using classLoader.getResource(fileName) method

Problem: I have a method loadFileFromClassPath(String fileName). Inside the method I am taking help of ClassLoader to get the File object and returning it. public static File loadFileFromClassPath(String fileName) {
File file;
ClassLoader classLoader...
The forked VM terminated without properly saying goodbye. VM crash or System.exit called
At the time of `mvn clean install` if you are getting this error.you just have add a plugin in your pom.xml file.<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
...
Caused by: java.lang.ClassNotFoundException: com.sun.tools.javac.code.TypeTags when using lombok
At the time of `mvn clean install` if you are getting this error then it that means you are at the right place.And this error is coming means you are using Lombok dependency in your project. See the Maven dependency in your project and check the Lombok version.To solve...
Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTags
At the time of `mvn clean install` if you are getting this error then it that means you are at the right place.And this error is coming means you are using Lombok dependency in your project. See the Maven dependency in your project and check the Lombok version.To solve this...
Saturday, February 8, 2020
How to setup complete security status in AWS?
Sign in to the AWS Management Console and open the IAM console at https://console.aws.amazon.com/iam/. You will see your Identity & Access Management(IAM).
html {overflow-x: hidden;}]]>
Here security status has 5 step to complete. 1st one is already completed. Now need...
Subscribe to:
Posts (Atom)