Blog

Page 309 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Spring Boot Remove Whitelabel Error Page
spring

Spring Boot Remove Whitelabel Error Page

Published on September 2, 2023

# 🚀 Removing the Whitelabel Error Page in Spring Boot Are you frustrated with the default Whitelabel Error Page in your Spring Boot application? Don't worry, we've got you covered! In this blog post, we'll discuss a common issue when trying to remove the

Cover Image for Spring Test & Security: How to mock authentication?
junitsecurityspring

Spring Test & Security: How to mock authentication?

Published on September 2, 2023

# 🚀 How to Mock Authentication in Spring Test & Security Are you struggling with unit testing the security of your Spring controllers? Do you want to make sure that your URLs are properly secured and that no one accidentally removes security settings? We

Cover Image for Does Spring Data JPA have any way to count entites using method name resolving?
javaspringspring-data-jpa

Does Spring Data JPA have any way to count entites using method name resolving?

Published on September 2, 2023

# Title: 📊 Counting entities with Spring Data JPA method name resolving: Is it possible? ## Introduction: Welcome to our tech blog! Today, we dive into the world of Spring Data JPA and explore whether it has a way to count entities using method name reso

Cover Image for How to set base url for rest in spring boot?
javaspringspring-mvc

How to set base url for rest in spring boot?

Published on September 2, 2023

## 🌐 How to Set Base URL for REST in Spring Boot? 🚀 So, you want to mix MVC and REST in a single Spring Boot project, eh? And you want to set a base path for all your REST controllers in a single place? No worries, mate! I gotchu covered! 😎 One common

Cover Image for java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment
javamavenspring

java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment

Published on September 2, 2023

## 🚀 Fixing the java.lang.IllegalAccessError in Lombok with OpenJDK 16 🚀 Hey there, fellow coder! 😀 If you're here, chances are you've encountered the dreaded `java.lang.IllegalAccessError` when trying to use the awesome Lombok plugin in your Java proj

Cover Image for Disable all Database related auto configuration in Spring Boot
hibernatespringspring-dataspring-data-jpa

Disable all Database related auto configuration in Spring Boot

Published on September 2, 2023

# How to Disable Database Auto Configuration in Spring Boot Are you developing a Spring Boot application and want to disable all database-related auto configuration for a specific profile? You've come to the right place. In this guide, we'll walk you thro

Cover Image for What is username and password when starting Spring Boot with Tomcat?
javaspringspring-mvc

What is username and password when starting Spring Boot with Tomcat?

Published on September 2, 2023

# Spring Boot with Tomcat: Understanding User Authentication If you're deploying a Spring application via Spring Boot and encounter the need to authenticate when accessing `localhost:8080`, you might be wondering what the username and password are or how

Cover Image for Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy
javaspring

Unsure if I understand TransactionAwarePersistenceManagerFactoryProxy

Published on September 2, 2023

📝 **Understanding TransactionAwarePersistenceManagerFactoryProxy: A Guide** Do you find yourself scratching your head when it comes to understanding the **TransactionAwarePersistenceManagerFactoryProxy**? Don't worry, you're not alone! In this blog post,

Cover Image for How to manage exceptions thrown in filters in Spring?
javaspring

How to manage exceptions thrown in filters in Spring?

Published on September 2, 2023

# How to Manage Exceptions Thrown in Filters in Spring? 😕💥🔧 Are you having trouble managing exceptions thrown in filters in your Spring application? 😟 Don't worry, you're not alone! Many developers struggle with this issue as well. In this blog post,

Cover Image for How do I perform the SQL Join equivalent in MongoDB?
joinmongodb

How do I perform the SQL Join equivalent in MongoDB?

Published on September 2, 2023

📝 How to Perform the SQL Join Equivalent in MongoDB: A Simplified Guide 🧩 Are you struggling to perform the SQL Join equivalent in MongoDB? Look no further! In this blog post, we will walk you through a simple and efficient solution to this common chall