org/eclipse/tm4e/ui/utils/ContentTypeHelper
Properties -> Java Compiler -> Configure Workspace Settings 。apply一下,然后重启eclipse
解决了Help → Install new software → Add URL: https://download.eclipse.org/tm4e/snapshots/