小编Con*_* DO的帖子

Maven Tycho编译失败

我正在使用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)

java eclipse-plugin eclipse-rcp tycho maven

3
推荐指数
1
解决办法
531
查看次数

gremlin javascript 中的 gremlin 查询相当于什么?

请问如何使用 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)

javascript node.js gremlin tinkerpop tinkerpop3

2
推荐指数
1
解决办法
1130
查看次数