当前位置:网站首页>Lombok prompts variable log error when using JUnit test in idea
Lombok prompts variable log error when using JUnit test in idea
2022-07-28 02:30:00 【HoneyMoose】
The error message prompted is as follows :
D:\WorkDir\USRealEstate\Source-Code\Common\common\src\test\java\com\ossez\common\tests\ConfTest.java:28:9
java: cannot find symbol
symbol: variable log
location: class com.ossez.common.tests.ConfTestCauses and problem solving
This problem can be modified POM File to solve .
According to the official statement , If you use JDK 9+ In the above version , You also need to add lombok rely on .
If you add dependencies directly , The above error will appear if it is not added in the plug-in .
The solution is , If you're using JDK 9+ In the above version , Need to add 2 A place .
Then run again and the above prompt will not appear .
Of course , You still need to be here IDEA Enable plug-ins in .
https://www.ossez.com/t/lombok-idea-junit-variable-log/14037
边栏推荐
- 正则表达式
- Leetcode hot topic Hot 100 - > 3. longest substring without repeated characters
- cn+dt
- Codeworks round 807 (Div. 2) a-c problem solution
- Go learn 02 basic knowledge
- ArcGIS: loading historical remote sensing images
- [advanced ROS] Lecture 9 robot model motion based on rviz and arbotix control
- LeetCode 热题 HOT 100 -> 1.两数之和
- Wechat campus bathroom reservation applet graduation design finished product (3) background function
- 使用BigDecimal类型应该避免哪些问题?(荣耀典藏版)
猜你喜欢

Skywalking distributed system application performance monitoring tool - medium

Important arrangements - the follow-up live broadcast of dx12 engine development course will be held at station B

The level "trap" of test / development programmers is not a measure of one-dimensional ability

The cooperation between starfish OS and metabell is just the beginning

Interviewer: what is the factory method mode?

Smart contract security -- selfdestroy attack

【ROS进阶篇】第九讲 基于Rviz和Arbotix控制的机器人模型运动

Promise从入门到精通(第3章 自定义(手写)Promise)
![53: Chapter 5: develop admin management service: 6: develop [admin administrator exit login, interface]; (one point: when we want to modify a value with a certain coding method, the new value should b](/img/9a/674308c7a21fa2be0943ca7967e274.png)
53: Chapter 5: develop admin management service: 6: develop [admin administrator exit login, interface]; (one point: when we want to modify a value with a certain coding method, the new value should b

Please, don't use the command line to configure MySQL master-slave replication. Isn't it fragrant to deploy with urlos interface?
随机推荐
Digital empowerment and innovation in the future: hese eredi appears at the 5th Digital China Construction Summit
Three core issues of concurrent programming (glory Collection Edition)
Shell regular and metacharacters
Network must know topics
In practical work, how do I use postman for interface testing?
小程序毕设作品之微信校园维修报修小程序毕业设计成品(4)开题报告
Necessary knowledge points of the original group
新零售业态下,零售电商RPA助力重塑增长
[Star Project] small hat aircraft War (V)
MySQL high availability and master-slave synchronization
Structure pseudo class selector - find single - find multiple - nth of type and pseudo elements
MySQL是如何利用索引的(荣耀典藏版)
This operation may not be worth money, but it is worth learning | [batch cutting of pictures]
MySQL高可用和主从同步
Flex layout - fixed positioning + flow layout - main axis alignment - side axis alignment - expansion ratio
Promise从入门到精通(第3章 自定义(手写)Promise)
Which database is the fastest to query data only?
四种常见的 POST 提交数据方式
借助Elephant Swap打造的ePLATO,背后的高溢价解析
了解加密行业的“下一个大趋势”——Ventures DAO