Coder Social home page Coder Social logo

Comments (8)

dudleycodes avatar dudleycodes commented on July 17, 2024 1

The offending imports are:

1: oauth2/src/main/java/com/okta/spring/boot/oauth/env/OktaOAuth2PropertiesMappingEnvironmentPostProcessor.java

import javax.validation.constraints.NotNull; (line 33)

Replaceable with: https://jakarta.ee/specifications/bean-validation/3.0/apidocs/jakarta/validation/constraints/notnull

2: oauth2/src/test/groovy/com/okta/spring/boot/oauth/AutoConfigConditionalTest.groovy](https://github.com/okta/okta-spring-boot/blob/7e39e9ca133e9d48a165fd016ddf0302f20c9852/oauth2/src/test/groovy/com/okta/spring/boot/oauth/AutoConfigConditionalTest.groovy)

import javax.servlet.Filter (line 77)

Replaceable with: https://jakarta.ee/specifications/servlet/4.0/apidocs/javax/servlet/filter

from okta-spring-boot.

dudleycodes avatar dudleycodes commented on July 17, 2024 1

Thank you for the responsiveness @arvindkrishnakumar-okta! Sorry to be the squeaky wheel -- but any idea when a release will get published, and dropped into maven central?

from okta-spring-boot.

mraible avatar mraible commented on July 17, 2024

I updated one of our blog posts last week to use the 3.0 version of our starter and didn't have any issues.

https://developer.okta.com/blog/2022/08/19/build-crud-spring-and-vue

from okta-spring-boot.

dudleycodes avatar dudleycodes commented on July 17, 2024

@mraible Does that project also use spring-boot-starter-validation:3.02?

Because if that example project isn't pulling in Hibernate:8.x, it's not going to pull in the jakarta version of validation-api, which means com.okta.spring:okta-spring-security-oauth2 can pull in the javax version of validation-api w/o error.

Update

That example project does not use Spring to pull in validation-api, so it's not going to have this issue. Via https://github.com/oktadev/okta-spring-boot-vue-crud-example/blob/main/resource-server/build.gradle

from okta-spring-boot.

mraible avatar mraible commented on July 17, 2024

I have another post that uses spring-boot-starter-validation and Spring Boot 3. However, it also uses the 2.x version of our starter.

https://developer.okta.com/blog/2022/06/17/simple-crud-react-and-spring-boot

from okta-spring-boot.

arvindkrishnakumar-okta avatar arvindkrishnakumar-okta commented on July 17, 2024

Fix #532 merged.

from okta-spring-boot.

arvindkrishnakumar-okta avatar arvindkrishnakumar-okta commented on July 17, 2024

@dudleycodes 3.0.1 has just been released. Should be available in Maven Central in ~ 3-4 hrs.

from okta-spring-boot.

dudleycodes avatar dudleycodes commented on July 17, 2024

Awesome! Thank you

from okta-spring-boot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.