skip to Main Content

Maven is using wrong java version – CentOS

I am trying to build a maven project on centOS 8. I want maven to use Java version 15. When I run mvn package I get the following error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project systembrett-backend: Fatal error…

VIEW QUESTION

Redis – java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6

I was trying to implement Redis caching for SpringBoot app which exposes Rest API. Important code snippets and maven build file enclosed. Start-up annotations: @SpringBootApplication @EnableAsync @EnableScheduling @EnableCaching public class Application { pom.xml(Only relevant dependencies listed) : <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId>…

VIEW QUESTION
Back To Top
Search