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

    Question build error: package javax.mail does not exist

    Hello,
    i am getting the following error when i try to execute the build:

    # 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:
    [exec] Note: /tmp/msgdkBFFT/com/openexchange/groupware/i18n/ServerMessages_de_DE.java uses unchecked or unsafe operations.
    [exec] Note: Recompile with -Xlint:unchecked for details.
    [exec] Note: /tmp/msgsiyAQ2/com/openexchange/groupware/i18n/ServerMessages_de.java uses unchecked or unsafe operations.
    [exec] Note: Recompile with -Xlint:unchecked for details.
    [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 936 source files to /tmp/open-xchange/build
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:60: package javax.mail does not exist
    [javac] import javax.mail.Session;
    [javac] ^
    [javac] /tmp/open-xchange/src/com/openexchange/sessiond/SessionObject.java:106: cannot find symbol
    [javac] symbol : class Session
    [javac] location: class com.openexchange.sessiond.SessionObject
    [javac] private Session mailSession;
    [javac] ^
    .
    .
    .
    ls -l /opt/open-xchange/lib/ | awk '{print $8}'
    activation.jar
    commons-cli.jar
    commons-fileupload.jar
    commons-httpclient.jar
    commons-io.jar
    commons-logging.jar
    concurrent.jar
    jakarta-slide-webdavlib-2.1.jar
    jcs-1.2.7.9.2.jar
    jdom.jar
    jsdk.jar
    json.jar
    junit.jar
    mail.jar
    mysql-connector-java-3.1.13-bin.jar
    org.eclipse.osgi_3.2.1.R32x_v20060919.jar
    saxon8.jar
    spring-beans.jar
    spring-core.jar
    tnef.jar


    Any idea what the problem could be?

    Thanks, Mario

  2. #2
    Join Date
    Feb 2007
    Location
    Germany
    Posts
    3,695

    Default

    After using the *real* javamail 1.4 jar this should work

  3. #3
    spiekey Guest

    Default

    ermm...yes. Indeed

  4. #4
    Francisco Laguna Guest

    Default

    Impressive

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
  •