Explain Codes LogoExplain Codes Logo

Java

How to read text file from classpath in Java?

java
file-io
classpath
resource-management

How do I convert a String to an int in Java?

java
exception-management
best-practices
type-conversion

Hibernate error - QuerySyntaxException: users is not mapped [from users]

java
hibernate-configuration
entity-mapping
querysyntaxexception

Several ports (8005, 8080, 8009) required by Tomcat Server at localhost are already in use

java
conflict-resolution
port-conflicts
tomcat-configuration

Java.net.socketexception: socket failed: EPERM (Operation not permitted)

java
network-permissions
android-manifest
permissions-management

How to unzip files programmatically in Android?

java
multithreading
io-optimization
kotlin-extensions

Can I use enum parameter into JpaRepository nativeQuery?

java
spel
jpa
enum-parameters

Retrofit 2.0 how to get deserialised error response.body

java
error-handling
retrofit
api-error

When should I use "this" in a Java class?

java
object-oriented-programming
best-practices
java-basics

Unable to use Intellij with a generated sources folder

java
build-helper-plugin
maven-structure
gradle-configuration

How to initialize HashSet values by construction?

java
prompt-engineering
best-practices
collections

How do I count the number of occurrences of a char in a String?

java
prompt-engineering
functions
performance

Hashmap - Retrieving the First Key-Value Pair

java
prompt-engineering
functions
collections

Java List.contains(Object with field value equal to x)

java
equals-hashcode
stream-methods
performance-optimization

Using setDate in PreparedStatement

java
date-formatting
jdbc-date-escape-format
java-time-api

How to get a reversed list view on a list in Java?

java
list-reversal
guava-library
list-iterator

What is a stack trace, and how can I use it to debug my application errors?

java
debugging
exception-handling
best-practices

Difference between @Before, @BeforeClass, @BeforeEach, and @BeforeAll

java
test-toolbox
unit-testing
junit-5

Retrieving the inherited attribute names/values using Java Reflection

java
reflection
field-utils
apache-commons-lang

How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

java
no-class-def-found-error
jaxb
java-9