Cyberduck Mountain Duck CLI

Opened 2 years ago

Closed 2 years ago

#9586 closed defect (fixed)

Fails with NoClassDefFoundError

Reported by: austinginder Owned by: dkocher
Priority: normal Milestone: 5.0.2
Component: cli Version: 5.0
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

duck --help

Expected to find launcher class: [ch/cyberduck/cli/Terminal]
Exception thrown from main method of ch/cyberduck/cli/Terminal
Exception in thread "main" java.lang.NoClassDefFoundError: ch/cyberduck/core/Controller
Caused by: java.lang.ClassNotFoundException: ch.cyberduck.core.Controller
        at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

yum info duck

Installed Packages
Name        : duck
Arch        : x86_64
Version     : 5.0.20277
Release     : 1
Size        : 192 M
Repo        : installed
From repo   : duck-stable
Summary     : Cyberduck
License     : GPL
Description : Cyberduck

Change History (4)

comment:1 Changed 2 years ago by dkocher

  • Component changed from core to cli
  • Owner set to dkocher
  • Status changed from new to assigned
  • Summary changed from CLI 5.0.20277 not working on CentOS 6.8 to Fails with NoClassDefFoundError

comment:2 Changed 2 years ago by dkocher

  • Milestone set to 5.0.2

comment:3 Changed 2 years ago by dkocher

The application properties have an invalid classpath set.

[dkocher@localhost app]$ more package.cfg 
app.mainjar=cli-5.1-SNAPSHOT.jar
app.version=5.1.20382
app.mainclass=ch/cyberduck/cli/Terminal
app.classpath=ch/cyberduck/core/5.1-SNAPSHOT/core-5.1-SNAPSHOT.jar ch/iterate/s3/jets3t/0.9.9/jets3t-0.9.9.jar commons-codec/commons-codec/1.10/commons-codec-1.10.jar org/codehaus/jac
kson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar javax/activation/activation/1.1.1/activation-1.1.
1.jar commons-logging/commons-logging/1.2/commons-logging-1.2.jar com/jamesmurty/utils/java-xmlbuilder/1.1/java-xmlbuilder-1.1.jar net/iharder/base64/2.3.8/base64-2.3.8.jar org/apache
/httpcomponents/httpcore/4.4.4/httpcore-4.4.4.jar org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar org/apache/httpcomponents/httpmime/4.5.2/httpmime-4.5.2.jar commons-n
et/commons-net/3.5/commons-net-3.5.jar org/apache/commons/commons-pool2/2.4.2/commons-pool2-2.4.2.jar commons-io/commons-io/2.5/commons-io-2.5.jar commons-collections/commons-collecti
ons/3.2.2/commons-collections-3.2.2.jar org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar org/bouncycastle/bcprov-jdk15on/1.52/bcprov-jdk15on-1.52.jar org/bouncycastle/bcpkix
-jdk15on/1.52/bcpkix-jdk15on-1.52.jar org/slf4j/slf4j-api/1.7.19/slf4j-api-1.7.19.jar org/slf4j/slf4j-log4j12/1.7.19/slf4j-log4j12-1.7.19.jar org/slf4j/jul-to-slf4j/1.7.19/jul-to-slf4
j-1.7.19.jar com/googlecode/plist/dd-plist/1.16/dd-plist-1.16.jar com/google/code/gson/gson/2.6.2/gson-2.6.2.jar net/java/dev/jna/jna/4.2.2/jna-4.2.2.jar net/java/dev/jna/jna-platform
/4.2.2/jna-platform-4.2.2.jar ch/cyberduck/ftp/5.1-SNAPSHOT/ftp-5.1-SNAPSHOT.jar org/apache/ftpserver/ftplet-api/1.0.6/ftplet-api-1.0.6.jar org/apache/ftpserver/ftpserver-core/1.0.6/f
tpserver-core-1.0.6.jar org/apache/mina/mina-core/2.0.4/mina-core-2.0.4.jar org/springframework/spring-context/2.5.5/spring-context-2.5.5.jar aopalliance/aopalliance/1.0/aopalliance-1
.0.jar org/springframework/spring-beans/2.5.5/spring-beans-2.5.5.jar org/springframework/spring-core/2.5.5/spring-core-2.5.5.jar ch/cyberduck/ssh/5.1-SNAPSHOT/ssh-5.1-SNAPSHOT.jar ch/
iterate/ssh/sshj/0.16.0/sshj-0.16.0.jar net/vrallev/ecc/ecc-25519-java/1.0.1/ecc-25519-java-1.0.1.jar com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar com/jcraft/jsch.agentproxy.sshj/0.0.9/jsch
.agentproxy.sshj-0.0.9.jar com/jcraft/jsch.agentproxy.core/0.0.9/jsch.agentproxy.core-0.0.9.jar com/jcraft/jsch.agentproxy.sshagent/0.0.9/jsch.agentproxy.sshagent-0.0.9.jar com/jcraft
/jsch.agentproxy.pageant/0.0.9/jsch.agentproxy.pageant-0.0.9.jar com/jcraft/jsch.agentproxy.usocket-jna/0.0.9/jsch.agentproxy.usocket-jna-0.0.9.jar ch/cyberduck/s3/5.1-SNAPSHOT/s3-5.1
-SNAPSHOT.jar ch/cyberduck/udt/5.1-SNAPSHOT/udt-5.1-SNAPSHOT.jar com/barchart/udt/barchart-udt-bundle/2.3.0/barchart-udt-bundle-2.3.0.jar com/amazonaws/aws-java-sdk-iam/1.10.43/aws-ja
va-sdk-iam-1.10.43.jar com/amazonaws/aws-java-sdk-core/1.10.43/aws-java-sdk-core-1.10.43.jar com/fasterxml/jackson/core/jackson-databind/2.7.4/jackson-databind-2.7.4.jar joda-time/jod
a-time/2.9.3/joda-time-2.9.3.jar com/amazonaws/aws-java-sdk-kms/1.10.43/aws-java-sdk-kms-1.10.43.jar ch/cyberduck/googlestorage/5.1-SNAPSHOT/googlestorage-5.1-SNAPSHOT.jar ch/cyberduc
k/oauth/5.1-SNAPSHOT/oauth-5.1-SNAPSHOT.jar com/google/oauth-client/google-oauth-client/1.22.0/google-oauth-client-1.22.0.jar com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar ch
/cyberduck/openstack/5.1-SNAPSHOT/openstack-5.1-SNAPSHOT.jar ch/iterate/openstack/swift/2.5.7/swift-2.5.7.jar ch/cyberduck/azure/5.1-SNAPSHOT/azure-5.1-SNAPSHOT.jar com/microsoft/azur
e/azure-storage/4.2.0/azure-storage-4.2.0.jar com/fasterxml/jackson/core/jackson-core/2.7.4/jackson-core-2.7.4.jar com/microsoft/azure/azure-keyvault-core/0.8.0/azure-keyvault-core-0.
8.0.jar ch/cyberduck/webdav/5.1-SNAPSHOT/webdav-5.1-SNAPSHOT.jar com/github/lookfirst/sardine/5.7/sardine-5.7.jar ch/cyberduck/irods/5.1-SNAPSHOT/irods-5.1-SNAPSHOT.jar org/irods/jarg
on/jargon-core/4.0.2.5-RELEASE/jargon-core-4.0.2.5-RELEASE.jar org/perf4j/perf4j/0.9.9/perf4j-0.9.9.jar ch/cyberduck/spectra/5.1-SNAPSHOT/spectra-5.1-SNAPSHOT.jar com/spectralogic/ds3
/ds3-sdk/1.2.6/ds3-sdk-1.2.6.jar com/google/code/findbugs/annotations/3.0.0/annotations-3.0.0.jar com/google/guava/guava/19.0/guava-19.0.jar com/fasterxml/jackson/dataformat/jackson-d
ataformat-xml/2.7.4/jackson-dataformat-xml-2.7.4.jar com/fasterxml/jackson/core/jackson-annotations/2.7.4/jackson-annotations-2.7.4.jar com/fasterxml/jackson/module/jackson-module-jax
b-annotations/2.7.4/jackson-module-jaxb-annotations-2.7.4.jar org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar org/slf4j/jcl-over-slf4j/1.7.13/jcl-over-slf4j-1.7.13.jar org/c
odehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar ch/cyberduck/backblaze/5.1-SNAPSHOT/backblaze-5.1-SNAPSHOT.jar 
ch/iterate/backblaze/b2/2.0.3/b2-2.0.3.jar org/json/json/20160212/json-20160212.jar ch/cyberduck/googledrive/5.1-SNAPSHOT/googledrive-5.1-SNAPSHOT.jar com/google/apis/google-api-servi
ces-drive/v3-rev27-1.22.0/google-api-services-drive-v3-rev27-1.22.0.jar com/google/api-client/google-api-client/1.22.0/google-api-client-1.22.0.jar com/google/http-client/google-http-
client-jackson2/1.22.0/google-http-client-jackson2-1.22.0.jar com/google/guava/guava-jdk5/17.0/guava-jdk5-17.0.jar com/google/http-client/google-http-client-gson/1.22.0/google-http-cl
ient-gson-1.22.0.jar com/google/http-client/google-http-client/1.22.0/google-http-client-1.22.0.jar ch/cyberduck/hubic/5.1-SNAPSHOT/hubic-5.1-SNAPSHOT.jar commons-cli/commons-cli/1.2/
commons-cli-1.2.jar org/fusesource/jansi/jansi/1.12/jansi-1.12.jar log4j/log4j/1.2.17/log4j-1.2.17.jar
jvmarg.1=-Djna.nounpack=true
jvmarg.2=-Djna.noclasspath=true
jvmarg.3=-Djava.awt.headless=true
jvmarg.4=-Dsun.jnu.encoding=utf-8
jvmarg.5=-Dfile.encoding=utf-8
jvmarg.6=-Djava.security.egd=file:/dev/./urandom
jvmarg.7=-Djava.net.useSystemProxies=true
app.preferences.id=ch/cyberduck/cli

comment:4 Changed 2 years ago by dkocher

  • Resolution set to fixed
  • Status changed from assigned to closed

In r20853.

Note: See TracTickets for help on using tickets.
swiss made software