Hello there! When working with AES encryption in Java, one important thing to understand is how AES handles input length, especially when using ECB mode with padding and no padding. AES is a block cipher, which means it encrypts data in fixed-size blocks. For AES, the block size is always 16 bytes. Because of this, the input data must fit into […]
Error : Entry META-INF/LICENSE.txt is a duplicate but no duplicate handling strategy has been set.
Hello There! When you wanted to build a jar file from your code, you accidentally facing an error such like below : That is I because you haven’t set any duplicates Strategy in your build.gradle file. You need to add a 1 line code like below. So, the before code is : this is after […]
Error : javax.persistence.* doesn’t exists..
My Old code was 2.5.3, when I tried to migrate to springboot 3.2.4 it said….”can not resolve symbol persistence”. So I tried to replace javax to jakarta, and viola! The error has been disappeared! Reference : https://jakarta.ee/blogs/javax-jakartaee-namespace-ecosystem-progress