kekekekekeshi commented on issue #1236: URL: https://github.com/apache/shiro/issues/1236#issuecomment-3092368731
> Hi, > > Can you please follow what's in https://github.com/apache/shiro/tree/main/samples/spring-boot-3-web sample? I believe you have too many exclusions and missing `dependencyManagement` section **how should this be used in gradle?** `plugins { id 'java' id 'org.springframework.boot' version '3.4.7' id 'io.spring.dependency-management' version '1.1.7' } group = 'com.xxx' version = '0.0.1-SNAPSHOT' java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } configurations { compileOnly { extendsFrom annotationProcessor } } repositories { mavenCentral() } dependencyManagement { imports { mavenBom "org.apache.shiro:shiro-bom:2.0.0" } } dependencies { implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-data-redis' implementation 'org.springframework.boot:spring-boot-starter-web' //implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.4' //implementation 'com.baomidou:mybatis-plus-boot-starter:3.5.5' //implementation 'org.crazycake:shiro-redis:3.3.1' // https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api // compileOnly 'javax.servlet:javax.servlet-api:4.0.1' implementation 'jakarta.servlet:jakarta.servlet-api:6.1.0' implementation 'org.bouncycastle:bcprov-jdk15on:1.70' //implementation 'org.apache.shiro:shiro-spring:2.0.5' // https://mvnrepository.com/artifact/org.apache.shiro/shiro-spring-boot-web-starter //implementation 'org.apache.shiro:shiro-spring-boot-web-starter:jakarta' implementation group: 'org.apache.shiro', name: 'shiro-spring-boot-web-starter', classifier: 'jakarta' implementation 'org.apache.shiro:shiro-core:jakarta' implementation 'org.apache.shiro:shiro-web:jakarta' implementation 'org.apache.shiro:shiro-spring-boot-starter:jakarta' implementation 'org.apache.shiro:shiro-spring:jakarta' implementation 'com.zaxxer:HikariCP:4.0.3' annotationProcessor 'com.mybatis-flex:mybatis-flex-processor:1.11.0' implementation 'com.mybatis-flex:mybatis-flex-codegen:1.11.0' implementation 'com.mybatis-flex:mybatis-flex-spring-boot3-starter:1.11.0' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.mysql:mysql-connector-j' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.4' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } tasks.named('test') { useJUnitPlatform() } ` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For additional commands, e-mail: issues-h...@shiro.apache.org