You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shiro.apache.org by "hadesy (via GitHub)" <gi...@apache.org> on 2023/11/24 08:09:23 UTC
[I] [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0 [shiro]
hadesy opened a new issue, #1178:
URL: https://github.com/apache/shiro/issues/1178
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues.
### Question
I'm running into issues with Spring Boot 3.2 and Shiro 2.0.0-alpha-4. The Spring Boot guide (https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Migration-Guide#jakarta-ee) says javax.servlet is now jakarta.servlet, but Shiro is still on javax.servlet. Does this mean we need to update dependencies?
--
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-unsubscribe@shiro.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org
Re: [I] [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0 [shiro]
Posted by "hadesy (via GitHub)" <gi...@apache.org>.
hadesy closed issue #1178: [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0
URL: https://github.com/apache/shiro/issues/1178
--
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-unsubscribe@shiro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org
Re: [I] [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0 [shiro]
Posted by "hadesy (via GitHub)" <gi...@apache.org>.
hadesy commented on issue #1178:
URL: https://github.com/apache/shiro/issues/1178#issuecomment-1825382585
The code below is working fine.
```
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-spring</artifactId>
<classifier>jakarta</classifier>
<version>2.0.0-alpha-4</version>
<exclusions>
<exclusion>
<artifactId>shiro-web</artifactId>
<groupId>org.apache.shiro</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-web</artifactId>
<classifier>jakarta</classifier>
<version>2.0.0-alpha-4</version>
</dependency>
```
--
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-unsubscribe@shiro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org
Re: [I] [Question] Compatibility Issue with Spring Boot 3.2 and Shiro 2.0.0 [shiro]
Posted by "fpapon (via GitHub)" <gi...@apache.org>.
fpapon commented on issue #1178:
URL: https://github.com/apache/shiro/issues/1178#issuecomment-1825307227
@hadesy you need to use the dedicated Shiro shaded jar from the BOM with the `jakarta` classifier:
https://github.com/apache/shiro/blob/82d47384ac40c95da19e0630ca77b6b131dbd846/bom/pom.xml#L91
--
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-unsubscribe@shiro.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@shiro.apache.org
For additional commands, e-mail: issues-help@shiro.apache.org