I am new to Java and Gradle, I am trying to build a simple REST API, here are my dependencies
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web:2.7.0'
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
implementation("org.springframework.boot:spring-boot-starter-actuator:2.6.7")
implementation 'javax.xml.bind:jaxb-api:2.4.0-b180830.0359'
implementation 'com.sun.xml.bind:jaxb-core:4.0.0-M4'
implementation 'com.sun.xml.bind:jaxb-impl:4.0.0-M4'
}
I am receiving the following error:
java.lang.ClassNotFoundException: com.sun.xml.bind.v2.ContextFactory
I have seen similar questions but could not find a solution