spring-guides / getting-started-guides

Getting Started Guide template :: The template for new guides and also the place to request them.
https://github.com/spring-guides/getting-started-guides/wiki
Apache License 2.0
518 stars 204 forks source link

Building REST services with Spring - Guide: Outdated package dependencies #161

Closed CK-Steve closed 2 months ago

CK-Steve commented 3 months ago

In the provided Code for the Employee Class, the Article shows import of "javax.persistence.Entity" and so on: Following this Article i found out that instead you need to import jakarta.persistence.* ...

robertmcnees commented 2 months ago

Hi @CK-Steve. I assume that you're referring to this tutorial. You are correct that our code does have an error by importing the wrong packages.

I will close this issue as a duplicate, as we are tracking it through this issue. As a reminder, if you find issues with specific guides please try to submit the issues in that repository. Feel free to follow along and contribute in the linked issue. Thanks for calling this out.