Alfresco 5.1がUbuntu 14.04にインストールされていて、スクリプト編集用Javascriptリポジトリもインストールされています。しかし、私の挑戦は、私がhttp://localhost:8080/alfresco/s/api/javascript/debuggerを通じてJavaScriptデバッガを有効にするとき、私は次のエラーを取得する次のとおりです。Alfresco 5.1 Javascriptデバッガエラーx11表示変数が設定されていませんでしたが、このプログラムでは操作が必要です
The Web Script /alfresco/s/api/javascript/debugger has responded with a status of 500 - Internal Error.
500 Description: An error inside the HTTP server which prevented it from fulfilling the request. Message: 05230000 Wrapped Exception (with status template): No X11 DISPLAY variable was set, but this program performed an operation which requires it.
Exception: java.awt.HeadlessException - No X11 DISPLAY variable was set, but this program performed an operation which requires it.
助けてください!
ヘッドレスモードでJVMを起動しますか? – Gagravarr
こんにちはギャグラーバー。それ、どうやったら出来るの? – coolman
通常の方法で 'java.awt.headless'をtrueに設定するだけです! – Gagravarr