1

I am trying to start a Lucee server under an Ubuntu 16.10 VirtualBox virtual machine using CommandBox 3.5.0. For debugging purposes I use this command:

server start --debug --console --noopenbrowser

This seems to start up the server but the last lines of the console output read like this:

Runwar: started servlet deployment manager Runwar: started stop monitor ******************************************************************************
*** starting 'stop' listener thread - Host: 127.0.0.1 - Socket: 42799 ******************************************************************************
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

(java:2864): Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

To me it looks like some part of CommandBox was compiled using both versions of GTK. So, I'm wondering now whether that can be circumvented somehow without having to touch CommandBox' code.

4

1 回答 1

3

该错误仅在从 Ubuntu GUI 运行 CommandBox 时发生,而不是从纯 shell 运行时发生。

所以这个错误的解决方法是:

  1. Ctrl使用++更改为 LinuxAlt控制台F1
  2. 启动命令框
  3. 启动你的服务器
  4. Ctrl使用+ Alt+切换回 GUI 模式F7

在此之后服务器正在运行,您可以在浏览器中看到您的应用程序。

于 2017-02-16T17:34:54.013 回答