.Class files not copied to proguard created jar

-dontoptimize
-dontshrink
-printusage proguard_usage.txt
-printmapping proguard_mapping.txt
-printconfiguration proguard-config.txt
-verbose
-printseeds seeds.txt
-dontwarn
-dontnote
-keepdirectories
-libraryjars “JarFolder”
-keep class org.springframework.** { *; }
-keep class MainSpringClass
{ *; }
-keep class StartClass
{ *; }

After using above configuration my .class files are not copied to output and it is also throwing below error.

Exception in thread “main” java.lang.IllegalStateException: Failed to get nested archive for entry BOOT-INF/lib/spring-boot-2.5.8.jar
at org.springframework.boot.loader.archive.JarFileArchive.getNestedArchive(Unknown Source)
at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(Unknown Source)
at org.springframework.boot.loader.archive.JarFileArchive$NestedArchiveIterator.adapt(Unknown Source)
at org.springframework.boot.loader.archive.JarFileArchive$AbstractIterator.next(Unknown Source)
at org.springframework.boot.loader.ExecutableArchiveLauncher.createClassLoader(Unknown Source)
at org.springframework.boot.loader.Launcher.launch(Unknown Source)
at org.springframework.boot.loader.JarLauncher.main(Unknown Source)
Caused by: java.io.IOException: Unable to open nested jar file ‘BOOT-INF/lib/spring-boot-2.5.8.jar’
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(Unknown Source)
at org.springframework.boot.loader.jar.JarFile.getNestedJarFile(Unknown Source)
… 7 more
Caused by: java.lang.IllegalStateException: Unable to open nested entry ‘BOOT-INF/lib/spring-boot-2.5.8.jar’. It has been compressed and nested jar files must be stored without compression. Please check the mechanism used to create your executable jar file
at org.springframework.boot.loader.jar.JarFile.createJarFileFromFileEntry(Unknown Source)
at org.springframework.boot.loader.jar.JarFile.createJarFileFromEntry(Unknown Source)
… 9 more