Announcement

Collapse
No announcement yet.

build error: package javax.mail does not exist

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

  • 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
    After using the *real* javamail 1.4 jar this should work

    Comment


    • #3
      ermm...yes. Indeed

      Comment


      • #4
        Impressive

        Comment

        Working...
        X