Trying to obtain Jedis library (i.e. Redis client library - https://github.com/xetorthio/jedis) using following code doesn't work:
The 'new' keyword is marked with error. Tooltip says: 'Groovy:unable to resolve class Jedis'. After running this code using 'Run as Java Application' the exception appears:
Works smoothly from CLI.