我正在尝试加载phantom js,如下所示。
File file = new File("src/test/resources/phantomjs-linux");
System.setProperty("phantomjs.binary.path", file.getAbsolutePath());
当我在linux机器上执行此命令时,得到以下异常:
java.lang.IllegalStateException: The driver is not executable: /home/tomcat-jenkins/work
我使用Dancer2 2::plugin::Redis插件来处理Redis连接。
为了提供所需的配置参数,文档提供了以下。
plugins:
Redis:
# if you use TCP/IP:
server: "localhost:6379"
# if you use UNIX/Linux sockets:
sock: "/path/to/sock"
# (optional) Redis password used with auth:
password: "Very secure password