全局搜一下maps,找到你进行转换的方法

可以看到新建了TswCaseInfoPlus后直接返回了,说明TswCaseInfoPlus没有set方法,或者说编译后lombok没生效
在pom文件中,编译打包插件中将lombok,mapstruct,lombok-mapstruct-binding加进去
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<annotationProcessorPaths>
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>1.4.2.Final</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>0.2.0</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
重新clean,install再次搜maps

可以看到get,set方法都有了,这样就没问题了


![[论文笔记] LLM-ICL论文:AI模型对prompt格式分隔符的敏感性——结构化Prompt格式](https://i-blog.csdnimg.cn/direct/c9303ad01790475bbedae26b4c2a3a5f.png)
















