Announcement

Collapse
No announcement yet.

Error in compilation: package org.apache.common

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in compilation: package org.apache.common

    Hi all,

    I am trying to install Hyperion version using the excellent howto there: http://typo3.open-xchange.com/wiki/i...._Installation

    Config:

    Debian Etch AMD64
    JAVA from sun-java5-jdk sun-java5-bin sun-java5-demo package is working
    ANT is working (#ant -diagnostics produces information)

    /opt/open-xchange/lib:
    Code:
    Test7:/tmp/open-xchange# ls /opt/open-xchange/lib
    total 8.6M
    drwxr-xr-x 2 root root 4.0K Apr 18 11:02 .
    drwxr-xr-x 3 root root 4.0K Apr 18 09:12 ..
    -rw-r--r-- 1 root root  55K Apr 18 10:49 activation.jar
    -rw-r--r-- 1 root root  30K Apr 18 10:49 commons-cli-1.0.jar
    -rw-r--r-- 1 root root  52K Apr 18 10:49 commons-fileupload.jar
    -rw-r--r-- 1 root root 274K Apr 18 10:49 commons-httpclient-2.0.2.jar
    -rw-r--r-- 1 root root  82K Apr 18 10:49 commons-io.jar
    -rw-r--r-- 1 root root 921K Apr 18 10:49 commons-logging.jar
    -rw-r--r-- 1 root root 857K Apr 18 10:49 concurrent.jar
    -rw-r--r-- 1 root root 169K Apr 18 10:49 jakarta-slide-webdavlib-2.1.jar
    -rw-r--r-- 1 root root 435K Apr 18 10:50 jcs-1.2.7.9.2.jar
    -rw-r--r-- 1 root root 5.8K Apr 18 10:50 jdom.jar
    -rw-r--r-- 1 root root  31K Apr 18 10:50 jsdk.jar
    -rw-r--r-- 1 root root  16K Apr 18 09:37 json.jar
    -rw-r--r-- 1 root root 105K Apr 18 10:50 junit-4.1.jar
    -rw-r--r-- 1 root root 349K Apr 18 10:50 mail.jar
    -rw-r--r-- 1 root root 449K Apr 18 10:50 mysql-connector-java-3.1.13-bin.jar
    -rw-r--r-- 1 root root 830K Apr 18 10:50 org.eclipse.osgi_3.2.1.R32x_v20060919.jar
    -rw-r--r-- 1 root root 3.6M Apr 18 10:50 saxon8.jar
    -rw-r--r-- 1 root root 226K Apr 18 10:50 spring-beans_1.2.7.jar
    -rw-r--r-- 1 root root 119K Apr 18 10:50 spring-core_1.2.7.jar
    -rw-r--r-- 1 root root  45K Apr 18 10:50 tnef.jar
    Test7:/tmp/open-xchange#
    Compilation
    I launch
    Code:
    cd /tmp/open-xchange/
    ant -Dlib.dir=/opt/open-xchange/lib install
    I have this messages:
    Code:
    Buildfile: build.xml
    
    prepare:
    
    patchVersionJava:
         [copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server
    
    compile:
        [javac] Compiling 950 source files to /tmp/open-xchange/build
        [javac] /tmp/open-xchange/src/Consistency.java:58: package org.apache.common
    s.logging does not exist
        [javac] import org.apache.commons.logging.Log;
        [javac]                                   ^
        [javac] /tmp/open-xchange/src/Consistency.java:59: package org.apache.common
    s.logging does not exist
    I think I have installed everything needed.
    I just have a doubt about the jar files. I downloaded them yesterday. Most of the archieve were in binary ZIP format. So I opened them to extract the .jar file and copy it in /opt/open-xchange/lib.

    For exemple I opened "jakarta-slide-jca-webdav-bin-2.1.zip" file to extract "jakarta-slide-webdavlib-2.1.jar"
    Is that correct ?

    Any idea ?

    Thanks
    Last edited by Guest; 04-19-2007, 02:31 PM.

  • #2
    I copied all third patries JARs in /tmp/open-xchange/lib folder.
    From /tmp/open-xchange I tried:
    Code:
    Test7:/tmp/open-xchange# ant install
    But still have the same message:
    Code:
    /tmp/open-xchange/src/Consistency.java:58: package org.apache.common
    s.logging does not exist

    Comment


    • #3
      Stupid error
      The file commons-logging.jar was corrupted during the FTP !

      Comment

      Working...
      X