You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a project depends on both org.apache.tomcat.embed:tomcat-embed-core and jakarta.servlet.jsp:jakarta.servlet.jsp-api, this plugin will change jakarta.servlet.jsp-api to tomcat-embed-core.
However, since tomcat-embed-core does not contain jakarta.servlet.jsp.* classes, so error occurs.
I think org.apache.tomcat.embed:tomcat-embed-jasper is the correct package to resolve dependency.
Here is an example of a project setting where the problem occurs.
// example of build.gradle.kts
plugins {
id("com.netflix.nebula.jakartaee-migration") version "0.18.0"
java
application
}
group ="org.example"
version ="1.0-SNAPSHOT"
repositories {
mavenCentral()
}
jakartaeeMigration {
migrate()
}
dependencies {
// library that has dependency of tomcat-embed-core
implementation("org.springframework.boot:spring-boot-starter-web:3.1.3")
implementation(platform("jakarta.platform:jakarta.jakartaee-bom:10.0.0"))
implementation("jakarta.servlet.jsp:jakarta.servlet.jsp-api")
}
The text was updated successfully, but these errors were encountered:
When a project depends on both
org.apache.tomcat.embed:tomcat-embed-core
andjakarta.servlet.jsp:jakarta.servlet.jsp-api
, this plugin will changejakarta.servlet.jsp-api
totomcat-embed-core
.However, since
tomcat-embed-core
does not containjakarta.servlet.jsp.*
classes, so error occurs.I think
org.apache.tomcat.embed:tomcat-embed-jasper
is the correct package to resolve dependency.Here is an example of a project setting where the problem occurs.
The text was updated successfully, but these errors were encountered: