问题
Both Kotlin and Gradle installed fine through the marketplace:
And I've right clicked the project "refresh dependencies" from the Gradle context menu:
what else can I do to get Eclipse to load this project? Despite the errors from Eclipse, it runs fine from the console:
thufir@dur:~/eclipse-workspace/baseX$
thufir@dur:~/eclipse-workspace/baseX$ gradle clean run
> Task :run
Oct. 06, 2019 7:58:19 P.M. org.basex.examples.local.LoadXML <init>
INFO: {databaseName=books, dataResource=books.xml}
Oct. 06, 2019 7:58:20 P.M. org.basex.examples.local.LoadXML createDrop
INFO: Name Resources Size Input Path
----------------------------------
books 0 4570
1 database(s).
BUILD SUCCESSFUL in 1s
4 actionable tasks: 4 executed
thufir@dur:~/eclipse-workspace/baseX$
来源:https://stackoverflow.com/questions/58262976/how-to-get-eclipse-to-correctly-open-a-gradle-project