我正在使用maven和tycho插件来构建一个eclipse RCP应用程序.我使用了一些像lambda表达式这样的java 8特性,但由于编译失败,它无法正确构建.
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-compiler-plugin:1.0.0:compile (default-compile) on project ***.***: Compilation failure: Compilation failure:
[ERROR] .filter(Objects::nonNull)
[ERROR] ^^^^^^^^^^^^^^^^
[ERROR] Method references are allowed only at source level 1.8 or above
[ERROR] 2 problems (2 errors)
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and …Run Code Online (Sandbox Code Playgroud) 请问如何使用 gremlin javascript 编写下面的 3 个 gremlin 查询?
gremlin> g.V.filter{it.name.matches(".*ark.*")}.name
g.V().filter({ it.getProperty("name").contains("ark") })
g.V().filter(label().is('person'))
Run Code Online (Sandbox Code Playgroud) eclipse-rcp ×1
gremlin ×1
java ×1
javascript ×1
maven ×1
node.js ×1
tinkerpop ×1
tinkerpop3 ×1
tycho ×1