【问题标题】:what's the best way to get etherpad to launch on startup on OSX在 OSX 上启动 etherpad 的最佳方法是什么
【发布时间】:2010-08-27 15:26:33
【问题描述】:

我认为 launchd 是答案,但使用这个 plist:

http://gist.github.com/553573

我收到此错误:

Exception in thread "main" java.lang.NoClassDefFoundError: net/appjet/oui/main
Caused by: java.lang.ClassNotFoundException: net.appjet.oui.main
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    ...

有什么想法吗?

【问题讨论】:

  • plist中引用的/usr/local/etherpad/trunk/etherpad/bin/run-local.sh的内容是什么??
  • 嗨 - 这是与默认安装捆绑在一起的启动脚本:这里的内容:gist.github.com/554102

标签: macos launchd etherpad


【解决方案1】:

可能是类路径问题?脚本 /usr/local/etherpad/trunk/etherpad/bin/run-local.sh 应该从特定目录(路径)启动。尝试编辑您的副本以在创建子文件夹 data/appjet 之前使用 cd 命令转到正确的文件夹。

【讨论】:

  • 谢谢 - 成功了。回想起来应该更多地围绕那个文件。会投票给你,但我是新来的。
猜你喜欢
  • 2016-03-11
  • 1970-01-01
  • 2011-04-27
  • 1970-01-01
  • 2017-02-13
  • 2015-10-26
  • 1970-01-01
  • 2016-01-04
  • 1970-01-01
相关资源
最近更新 更多