Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 2 of 2
  1. #1
    Zearom Guest

    Default Strange Errors, during compile - "DataWriter.java:80: cannot find symbol"

    hi,

    I want to install OX and using the nice wiki tutorial, but at "IV.1. Open-Xchange Installation" the compile returns following error:

    Code:
    openexchange:/tmp/open-xchange# ant -Dlib.dir=/opt/open-xchange/lib install
    Buildfile: build.xml
    
    check-i18n-executables:
    
    show_missing_xgettext:
    
    show_missing_msgfmt:
    
    show_missing_apt:
    
    show-missing-executables:
    
    create-lang-jar:
          [jar] Building jar: /tmp/open-xchange/lib/ox_languages.jar
    
    prepare:
    
    patchVersionJava:
         [copy] Copying 1 file to /tmp/open-xchange/src/com/openexchange/server
    
    compile:
        [javac] Compiling 43 source files to /tmp/open-xchange/build
        [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] 3 errors
    
    BUILD FAILED
    /tmp/open-xchange/build.xml:130: Compile failed; see the compiler error output for details.
    
    Total time: 21 seconds
    lets have a look in my lib directory:

    Code:
    drwxr-xr-x 2 root root    4096 2007-03-29 20:50 .
    drwxr-xr-x 3 root root    4096 2007-03-29 09:35 ..
    -rw-r--r-- 1 root root   55932 2007-03-29 09:48 activation.jar
    -rw-r--r-- 1 root root   30117 2007-03-29 20:21 commons-cli-1.0.jar
    -rw-r--r-- 1 root root   53082 2007-03-29 19:57 commons-fileupload.jar
    -rw-r--r-- 1 root root  225375 2007-03-29 20:04 commons-httpclient-2.0.2.jar
    -rw-r--r-- 1 root root   83613 2007-03-29 19:58 commons-io-1.3.1.jar
    -rw-r--r-- 1 root root   52915 2006-05-09 23:08 commons-logging.jar
    -rw-r--r-- 1 root root  157660 2007-03-29 10:07 concurrent.jar
    -rw-r--r-- 1 root root  172727 2007-03-29 20:03 jakarta-slide-webdavlib-2.1.jar
    -rw-r--r-- 1 root root  444442 2007-03-29 10:04 jcs-1.2.7.9.2.jar
    -rw-r--r-- 1 root root  148373 2007-03-29 10:01 jdom.jar
    -rw-r--r-- 1 root root   31362 2007-03-29 09:42 jsdk.jar
    -rw-r--r-- 1 root root   15941 2007-03-29 19:56 json.jar
    -rw-r--r-- 1 root root  112249 2007-03-29 20:19 junit-4.1.jar
    -rw-r--r-- 1 root root  356519 2007-03-29 09:47 mail.jar
    -rw-r--r-- 1 root root  512707 2007-03-29 09:43 mysql-connector-java-5.0.5-bin.jar
    -rw-r--r-- 1 root root  849471 2007-03-29 20:21 org.eclipse.osgi_3.2.1.R32x_v20060919.jar
    -rw-r--r-- 1 root root 3732287 2007-03-29 20:22 saxon8.jar
    -rw-r--r-- 1 root root  230640 2007-03-29 20:26 spring-beans_1.2.7.jar
    -rw-r--r-- 1 root root  121409 2007-03-29 20:26 spring-core_1.2.7.jar
    -rw-r--r-- 1 root root   46000 2006-11-19 11:51 tnef.jar
    thats my problem, and i have no idea how to solve it

  2. #2
    Francisco Laguna Guest

    Default

    That seems to be a problem with the jdom.jar. Where did you get it and which version is it?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •