„[FEHLER] Kein Prozessor hat eine dieser Anmerkungen beansprucht“ beim Hinzufügen der Microsoft Graph-BibliothekJava

Java-Forum
Guest
 „[FEHLER] Kein Prozessor hat eine dieser Anmerkungen beansprucht“ beim Hinzufügen der Microsoft Graph-Bibliothek

Post by Guest »

Ich stecke derzeit bei meinem Spring Boot-Projekt fest, wenn ich versuche, die microsoft.graph-Bibliothek hinzuzufügen. Die Projektanmerkungen werden nicht mehr verarbeitet.
Hier ist der POM des Projekts

Code: Select all


4.0.0
war

...




org.springframework.boot
spring-boot-dependencies
${spring-boot.version}
pom
import



org.mapstruct
mapstruct
${mapstruct.version}


gson
com.google.code.gson
2.8.6






com.microsoft.graph
microsoft-graph
5.8.0


com.google.guava
guava


com.google.code.findbugs
jsr305


com.fasterxml.jackson.datatype
jackson-datatype-jsr310


com.squareup.okhttp3
okhttp


com.google.code.gson
gson


com.fasterxml.jackson.core
jackson-core


io.projectreactor
reactor-core


org.slf4j
slf4j-api


com.fasterxml.jackson.core
jackson-annotations


com.fasterxml.jackson.core
jackson-databind


com.microsoft.kiota
microsoft-kiota-abstractions


io.netty
netty-tcnative-boringssl-static


com.fasterxml.jackson.dataformat
jackson-dataformat-xml






com.azure
azure-identity
1.7.0


net.java.dev.jna
jna-platform


net.java.dev.jna
jna


com.microsoft.azure
msal4j


com.azure
azure-core


com.azure
azure-core-http-netty


net.minidev
json-smart




org.springframework.boot
spring-boot-starter-web



org.springframework.boot
spring-boot-starter-validation


org.springframework.boot
spring-boot-devtools
runtime



org.projectlombok
lombok
provided



org.mapstruct
mapstruct

com.google.guava
guava
28.2-jre


...




org.springframework.boot
spring-boot-maven-plugin
${spring-boot.version}






maven-compiler-plugin




org.mapstruct
mapstruct-processor
${mapstruct.version}


org.projectlombok
lombok
${lombok.version}





Nachdem ich die Microsoft-Graph- und Azure-Identity-Bibliotheken hinzugefügt habe, erhalte ich die folgende Fehlermeldung, wenn ich versuche, eine mvn-Installation durchzuführen:

Kein Prozessor hat Anspruch auf eine dieser Anmerkungen erhoben: javax.validation.constraints.NotBlank,org.springframework.security.access.prepost.PreAuthorize,org.springframework.web.bind.annotation.RequestMapping,org.springfr amework.beans.factory.annotation.Autowired,org.springframework.context.annotation.PropertySource,io.swagger.annotations.ApiResponses,javax.validation.constraints. NotEmpty,javax.validation.Valid,org.springframework.beans.factory.annotation.Value,org.springframework.web.bind.annotation.RequestBody,io.swagger.annotations.ApiO peration,org.springframework.stereotype.Service,org.springframework.boot.context.properties.EnableConfigurationProperties,org.springframework.beans.factory.annota tion.Qualifier,org.springframework.boot.autoconfigure.condition.ConditionalOnProperty,org.springframework.web.bind.annotation.ResponseStatus,org.springframework.web.bind.annotation.DeleteMapping,org.springframework.web.bind.annotation. PostMapping,org.springframework.validation.annotation.Validated,org.springframework.boot. autoconfigure.SpringBootApplication,javax.validation.constraints.NotNull,org.springframework.web.bind.annotation.RestController,org.springframework.context.annotation.ComponentScan,org.springframework.context.annotation.Configuration,org.springframework.stereotype. Component,org.springframework.context.annotation.Bean

Ich habe einige Bibliotheken ausgeschlossen, die Probleme verursachen, aber die Fehlermeldung wird trotzdem angezeigt. Bei der Überprüfung der Abhängigkeiten habe ich festgestellt, dass die Bibliothek immer noch die alte Javax-Bibliothek verwendet. Ich weiß nicht, ob das ein solches Problem verursachen kann.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post