Comments (5)
Thank you for your response, @Buzzardo.
And just fyi, @kanishkawithanawasam in my case, when I replaced in entity Employee
code snippet:
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
with
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.Id;
it solved the issue for me.
from tut-rest.
We plan to remove this tutorial in the coming months. We are replacing this kind of content with courses on Spring Academy, such as https://spring.academy/courses/building-a-rest-api-with-spring-boot (which is free).
from tut-rest.
Thanks! That solved the issue for me @abuwho!
from tut-rest.
I am facing the same issue. Is it because of version incompatibility of Spring?
from tut-rest.
Thank you @abuwho changing javax with Jakarta did solve the problem
from tut-rest.
Related Issues (20)
- Complete Building REST services with Spring tutorial with OrderNotFoundAdvice Class HOT 1
- Misleading Put method in non-REST EmployeeController HOT 1
- Confused by DELETE http://localhost:8080/orders/4/cancel HOT 1
- isse in postman to post mapping HOT 2
- unable to proceed when adding links in one method of EmployeeController class HOT 1
- Order Controller /cancel Mapping Feedback HOT 2
- Error: The method methodOn(Class) is undefined for the type EmployeeController. HOT 4
- Error: java.lang.IllegalArgumentException: Invalid character found in method name [] . HTTP method names must be tokens HOT 3
- Missing Code Snippets in README.md HOT 1
- Logging of preloading data has changed HOT 1
- Link to HAL returns 404 HOT 3
- Package imports for Jakarta are not correct with latest version of Spring Boot HOT 1
- Employee.java imports javax.persistence-api.* not found HOT 2
- Mentioning correct curl commands for Windows HOT 1
- 415 when attempting to post json object HOT 2
- warning: You aren't using a compiler supported by lombok, so lombok will not work and has been disabled. Your processor is: org.gradle.api.internal.tasks.compile.processing.IncrementalProcessingEnvironment Lombok supports: OpenJDK javac, ECJ HOT 3
- Duplicated, outdated tutorial HOT 5
- EntityModel is Deprecated
- Improvements for beginners HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tut-rest.