Fehlerkompilieren [M: java.lang.IilleGalacceserror: Klasse lombok.javac.apt.lombokprocessorJava

Java-Forum
Guest
 Fehlerkompilieren [M: java.lang.IilleGalacceserror: Klasse lombok.javac.apt.lombokprocessor

Post by Guest »

Ich werde beim Erstellen des Code -Spring -Bootes und des Apache -AVRO -Beispiels von STS nach unten auftreten. Wenn ich diese Code -Befehlszeile gut ausführe, funktioniert es gut. < /p>

Code: Select all

[INFO] [1m--- [0;32mmaven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m @ [36mavroposgen[0;1m ---[m
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to E:\Kafka-Streams-with-Spring-Cloud\avroposgen\target\classes
[INFO] [1m------------------------------------------------------------------------[m
[INFO] [1;31mBUILD FAILURE[m
[INFO] [1m------------------------------------------------------------------------[m
[INFO] Total time:  5.729 s
[INFO] Finished at: 2021-12-15T22:00:20+05:30
[INFO] [1m------------------------------------------------------------------------[m
[ERROR] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile[m [1m(default-compile)[m on project [36mavroposgen[m: [1;31mFatal error compiling[m: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x18ff1520) cannot access class com.sun.tools.javac.processing.JavacProcessingEnvironment (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.processing to unnamed module @0x18ff1520 -> [1m[Help 1][m
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
[ERROR] Re-run Maven using the [1m-X[m switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
pom.xml

Code: Select all

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0

org.springframework.boot
spring-boot-starter-parent
2.4.0
  

learningjournal.guru.examples
avroposgen
0.0.1-SNAPSHOT
Avro Pos Generator
Avro Pos Generator by Learning Journal


11




org.springframework.boot
spring-boot-starter


org.springframework.kafka
spring-kafka



org.apache.avro
avro
1.9.2


io.confluent
kafka-avro-serializer
6.0.0



org.projectlombok
lombok
true


org.springframework.boot
spring-boot-starter-test
test


org.springframework.kafka
spring-kafka-test
test






org.springframework.boot
spring-boot-maven-plugin


org.apache.avro
avro-maven-plugin
1.8.2


generate-sources

schema


src/main/avro
${project.build.directory}/generated-sources

${project.basedir}/src/main/avro/LineItem.avsc
${project.basedir}/src/main/avro/DeliveryAddress.avsc

String





org.apache.maven.plugins
maven-eclipse-plugin
2.9

true







confluent
https://packages.confluent.io/maven/



Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post