parameters 问题
...小于 1 分钟
parameters 问题
报错信息
java.lang.IllegalArgumentException: Name for argument of type [boolean] not specified, and parameter name information not available via reflection. Ensure that the compiler uses the '-parameters' flag.
https://github.com/spring-projects/spring-boot/issues/38541
解决
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<parameters>true</parameters>
</configuration>
</plugin>
你认为这篇文章怎么样?
- 0
- 0
- 0
- 0
- 0
- 0