idea启动报错,java:In...
java: Internal error in the mapping processor: java.lang.NullPointerException at
org.mapstruct.ap.internal.ateManifestUrl(DefaultVersionInformation.java:180) at org.mapstruct.ap.internal.processor.DefaultVersionInformation.openManifest(DefaultVersionInformation.java:151) at
org.mapstruct.ap.internal.LibraryName(DefaultVersionInformation.java:127) at
org.mapstruct.ap.internal.Compiler(DefaultVersionInformation.java:120) at
org.mapstruct.ap.internal.processor.DefaultVersionInformation.fromProcessingEnvironment(DefaultVersionInformation.java:98) at org.m小学英语时态
apstruct.ap.internal.processor.DefaultModelElementProcessorContext.<init>
(DefaultModelElementProcessorContext.java:59) at
org.mapstruct.ap.MappingProcessor.processMapperElements(MappingProcessor.java:222) at
org.mapstruct.ap.MappingProcessor.process(MappingProcessor.java:162) at
flect.Method.invoke(Method.java:498) at org.jetbrains.jps.javac.APIWrappers$1.invoke(APIWrappers.java:255) at org.mapstruct.ap.MappingProcessor.process(Unknown Source) at
ls.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794) at
ls.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705) at ls.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91) at
ls.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035) at
ls.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176) at
ls.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170) at
ls.javac.pile(JavaCompiler.java:856) at
ls.javac.ma六年级网课
pile(Main.java:523) at ls.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) at ls.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) at
org.jetbrains.jps.pile(JavacMain.java:231) at
org.jetbrains.jps.incremental.java.JavaBuilder.lambda$compileJava$2(JavaBuilder.java:514) at
org.jetbrains.jps.incremental.java.JavaBui屋檐的檐组词
lder.invokeJavac(JavaBuilder.java:560) at
org.jetbrains.jps.incremental.pileJava(JavaBuilder.java:512) at
org.jetbra发芽简笔画
ins.jps.incremental.pile(JavaBuilder.java:355) at
org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:280) at
org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:234) at
org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1464) at
org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1101) at
org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1247) at
org.j八十大寿祝寿词
etbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:1066) at
org.jetbrains.jps.incre创新要素
mental.IncProjec藕片怎么做好吃
tBuilder.buildChunks(IncProjectBuilder.java:832) at
org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:419) at
org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:183) at
org.dline.BuildRunner.runBuild(BuildRunner.java:132) at
org.dline.BuildSession.runBuild(BuildSession.java:301) at
org.dline.BuildSession.run(BuildSession.java:132) at
org.dline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain三年级童话故事作文
.java:219) at
urrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at
urrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)两种解决⽅法:
1.设置File→ttings→Compiler的Ur-local build process VM options (overrides Shared options)选项设置-
Ur-local build process VM options (overrides Shared options)选项设置-
1.4.1.Final或者更⾼版本
2.在l⾥⾯修改mapstruct-processor的版本,升级⾄1.4.1.Final或者更⾼版本
两种⽅法都可以尝试,本⼈是第⼀种⽅法成功