Javarevisited

Learn Java, Programming, Spring, Hibernate throw tutorials, examples, and interview questions

Monday, October 30, 2023

Why Java and Spring Developers Should Learn RESTful Web Services and Microservices

›
More and More companies are adopting  Microservices architecture e.g. Uber and Netflix already uses it and many startups I know is choosin...
Monday, October 23, 2023

15 Example of print() and println() methods in Java

›
Hello guys, if you have learned Java in early 2000 then there is  good chance that you must have written your first Java code using System....
Tuesday, October 10, 2023

How to fix Eclipse - Could not reserve enough space for object heap in Java? Solution

›
If you are running Java program in Eclipse and ever tried playing with -Xmx parameter you know about those virtual machine initialization e...
Monday, October 9, 2023

How to fix java.net.SocketException: Connection reset by peer: socket write error? [Solved]

›
" Exception in thread "main" java.net.SocketException: Software caused connection abort: socket write error"  comes whe...
Friday, October 6, 2023

How does Remember Me functionality works in Spring Security?

›
In the last article, You have learned how to enable the remember-me functionality in Spring security and today you will learn how does Re...
Wednesday, October 4, 2023

6 ways to sort ArrayList in Java 8? List.sort() + Collections.sort() Example Tutorial

›
There are many ways to sort an ArrayList in Java 8; for example. you can use the old but still rocking way to sort a List by using Collecti...
1 comment:
Tuesday, October 3, 2023

How to enable RememberMe Functionality in Spring Security

›
Hello guys, most of the web application has login or authentication functionality where user need to enter their username and password to ...
1 comment:
Saturday, September 30, 2023

10 Exception handling Best Practices in Java Programming

›
Exception handling is an important part of writing robust Java applications. It’s a non-functional requirement for any application, to gra...
8 comments:

How to Fix Exception in thread "main" java.lang.ExceptionInInitializerError in Java Program? Example

›
JVM throws java.lang.ExceptionInInitializerError , when there is an Exception inside static initializer block . If you know about static va...

How to fix java.io.FileNotFoundException: (Access is denied)? Example

›
Earlier my impression was that java.io.FileNotFoundException: (Access is denied) comes when you try to read a text or binary file for wh...
2 comments:

How to resolve java.lang.UnsupportedClassVersionError:Unsupported major.minor version 49.0 to 65 with example

›
The java.lang.UnsupportedClassVersionError  is a quite common error after NoClassDefFoundError or ClassNotFoundException they all seems t...
25 comments:
Thursday, September 28, 2023

Fixing java.net.BindException: Cannot assign requested address: JVM_Bind in Tomcat, Jetty

›
One of the most dreaded errors in Java-based client server-based applications is a networking-related error, e.g. java.net.BindException: C...
7 comments:

How to Fix java.net.ConnectException: Connection refused: connect in Java

›
java.net.ConnectException: Connection refused: connect is one of the most common networking exceptions in Java. This error comes when you...
20 comments:

How to solve java.util.NoSuchElementException in Java? Example

›
How to fix java.util.NoSuchElementException in Java java.util.NoSuchElementException is a RuntimeException that can be thrown by differ...
10 comments:

How to fix java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory

›
java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory or " Exception in thread "main" java.lang.NoClassDef...
9 comments:
‹
›
Home
View web version

Contributors

  • SimpleJava
  • javin paul
Powered by Blogger.