I have added the missing jar to the wiki. Please check if thats okay:
See: "III.2. Apache Ant and 3rd party dependencies"
Cheers, Mario
Announcement
Collapse
No announcement yet.
error compiling: package org.apache.commons.codec.binary does not exist
Collapse
X
-
Guest replied
-
Guest repliedHi Martin,
Originally posted by Martin Braun View PostHi Mario,
most commonly this indicates a missing dependency (.jar file) at the /opt/open-xchange/lib directory. Would you be so kind to provide a file listing of this directory? Maybe something is missing.
---------------------------
activation.jar
commons-cli-1.0.jar
commons-fileupload.jar
commons-httpclient-2.0.2.jar
commons-io.jar
commons-logging.jar
concurrent.jar
jakarta-slide-webdavlib-2.1.jar
jcs-1.2.7.9.2.jar
jdom.jar
json.jar
junit-4.1.jar
mail.jar
mysql-connector-java-3.1.13-bin.jar
org.eclipse.osgi_3.2.2.ox.jar
saxon8.jar
servlet-api-2.4.jar
spring-beans_1.2.7.jar
spring-core_1.2.7.jar
tnef.jar
Leave a comment:
-
Hi Mario,
most commonly this indicates a missing dependency (.jar file) at the /opt/open-xchange/lib directory. Would you be so kind to provide a file listing of this directory? Maybe something is missing.
Greetings.
Leave a comment:
-
error compiling: package org.apache.commons.codec.binary does not exist
Hello,
when i try to compile ox i get:
-------------------------------------
ant -Dlib.dir=/opt/open-xchange/lib install
Buildfile: build.xml
prepare:
patchVersionJava:
[copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server
compile:
[javac] Compiling 1046 source files to /tmp/open-xchange/build
[javac] /tmp/open-xchange/src/com/openexchange/tools/encoding/Base64.java:72: package org.apache.commons.codec.binary does not exist
[javac] return Charsets.toString(org.apache.commons.codec.binary. Base64
[javac] ^
[javac] /tmp/open-xchange/src/com/openexchange/tools/encoding/Base64.java:92: package org.apache.commons.codec.binary does not exist
[javac] return org.apache.commons.codec.binary.Base64.decodeBase6 4(
[javac] ^
[javac] /tmp/open-xchange/src/com/openexchange/webdav/xml/DataWriter.java:80: cannot find symbol
[javac] symbol : method addContent(org.jdom.Parent)
[javac] location: class org.jdom.Element
[javac] e_response.addContent(new Element("href", dav).addContent(String.valueOf(object_id)));
[javac] ^
[javac] /tmp/open-xchange/src/com/openexchange/webdav/xml/DataWriter.java:86: cannot find symbol
[javac] symbol : method addContent(org.jdom.Parent)
[javac] location: class org.jdom.Element
[javac] e_propstat.addContent(new Element("status", dav).addContent(String.valueOf(status)));
[javac] ^
[javac] /tmp/open-xchange/src/com/openexchange/webdav/xml/DataWriter.java:87: cannot find symbol
[javac] symbol : method addContent(org.jdom.Parent)
[javac] location: class org.jdom.Element
[javac] e_propstat.addContent(new Element("responsedescription", dav).addContent(description));
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 5 errors
BUILD FAILED
/tmp/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.
Total time: 9 seconds
Any idea whats going wrong?
Thanks, MarioTags: None
Leave a comment: