1.遇到log.info()报错
重新安装lombok
2.遇到注解等大片报错
在pom.xml文件中,<artifactId>Chapter13</artifactId>取代<artifactId>Chapter</artifactId>,保证只有一个
3.遇到Objects.isNull(cookies)报错,
虽然引入了import java.util.Objects了,但还是报错,在pom.xml文件中,添加版本信息
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
原文:https://www.cnblogs.com/hustxychen/p/10803462.html