This question is closely related to java-class-name-same-as-the-nested-package-name . My specific question here is: How can I disable/suppress that warning in Eclipse?
Some remarks:
Unfortunately it's not currently possible to disable that warning in Eclipse. There is an open feature request to make it possible , however it has had no action since 2012.
For Jenkins plugins, since there are no resources to compile in src/main/resources, in Eclipse, I toggled the 'Ignore optional compile problems' to Yes. That will remove the warning.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.