how to correct red “import” error messages from Eclipse?

家住魔仙堡 提交于 2019-12-24 19:05:39

问题


I created a project using gradle init --type java-application --test-framework testng --dsl kotlin but Eclipse shows:

For what it's worth, this runs fine:

thufir@dur:~/eclipse-workspace/baseX$ 
thufir@dur:~/eclipse-workspace/baseX$ gradle clean run

> Task :run
Oct. 06, 2019 6:35:33 P.M. org.basex.examples.local.LoadXML <init>
INFO: {databaseName=books, dataResource=books.xml}
Oct. 06, 2019 6:35:34 P.M. org.basex.examples.local.LoadXML createDrop
INFO: Name   Resources  Size  Input Path  
----------------------------------
books  0          4570              

1 database(s).


BUILD SUCCESSFUL in 2s
4 actionable tasks: 4 executed
thufir@dur:~/eclipse-workspace/baseX$ 

How can I remove the red error messages from Eclipse? Usually I've kept to Netbeans, but am switching over.

来源:https://stackoverflow.com/questions/58262546/how-to-correct-red-import-error-messages-from-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!