Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
|
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Status | ||||
---|---|---|---|---|
|
Einleitung
Ab Java 9 sind die javax Annotationen als deprecated notiert. Hier der Ersatz, falls man nicht drauf verzichten will wie z.B. die @Resource Annotation für Spring Beans.
@Resource
Code Block | ||||
---|---|---|---|---|
| ||||
<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api --> <dependency> <groupId>javax.annotation</groupId> <artifactId>javax.annotation-api</artifactId> <version>1.3.2</version> </dependency> |