Learn why the “java.lang.ClassCastException: java.util.LinkedHashMap cannot be cast to X” exception occurs and how to solve the problem
Kai Yuan has been a software developer for over 15 years. He builds enterprise Java applications in work. He has 20 years experience of Linux and is a big fan of the Vim editor. He is happy to help people at stackoverflow.com. He lives currently in Hamburg.
Here's what I've written (so far):
Learn the difference between mvn:package and spring-boot:repackage
Learn ways to list a JAR file’s content from the command-line
Take a closer look at the JDBC URL formats of several widely used databases: Oracle, MySQL, Microsoft SQL Server, and PostgreSQL
Learn various ways to remove the extension from a filename
Learn how to extend Enums in Java.
Take a closer look at Java’s AbstractMethodError and understand what it is and when it may happen
Learn how to get names of classes inside a given JAR file and how to load classes from a JAR file at runtime.
Learn how to get the HTTP port programmatically in a Spring Boot application
Learn the differences between calling the Object.getClass() method and using the .class syntax
Learn about the difference between the two regular expressions through examples
See examples that illustrate the main causes of the “illegal start of expression” error and how to fix it