【发布时间】:2013-03-29 23:38:26
【问题描述】:
我需要一些帮助来尝试使用命令行运行以下 maven 项目: https://github.com/sarxos/webcam-capture,webcam-capture-qrcode 示例是我正在尝试运行的示例。我使用 Eciplse IDE 运行它,但需要将其移至仅使用命令行。我有 Maven 创建的罐子。
我在努力
java -classpath ./webcam-capture/target/webcam-capture-0.3.10-SNAPSHOT.jar com.github.sarxos.webcam.WebcamQRCodeExample
但我一直收到
Exception in thread "main" java.lang.NoClassDefFoundError: com/github/sarxos/webcam/WebcamQRCodeExample
Caused by: java.lang.ClassNotFoundException: com.github.sarxos.webcam.WebcamQRCodeExample
【问题讨论】: