Results 1 to 3 of 3

Thread: 5.0b3 compile error

  1. #1
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default 5.0b3 compile error

    Hi

    Any idea what this error is? Looks like IM source is borked?

    Code:
    compile:
        [javac] Compiling 156 source files to /opt/build.zimbra/ZimbraIM/build/classes
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/AbstractConnection.java:23: org.jivesoftware.database.AbstractConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
        [javac] public class AbstractConnection implements Connection {
        [javac]        ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:631: org.jivesoftware.database.ProfiledConnection.TimedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedStatement extends StatementWrapper {
        [javac]     ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:719: org.jivesoftware.database.ProfiledConnection.TimedPreparedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedPreparedStatement extends PreparedStatementWrapper {
        [javac]     ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:924: org.jivesoftware.database.ProfiledConnection.TimedCallableStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedCallableStatement extends CallableStatementWrapper {
        [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] 4 errors
    
    BUILD FAILED
    /opt/build.zimbra/ZimbraServer/build.xml:315: The following error occurred while executing this line:
    /opt/build.zimbra/ZimbraIM/build.xml:54: Compile failed; see the compiler error output for details.
    
    Total time: 8 seconds
    make: *** [/opt/build.zimbra/ZimbraBuild/../ZimbraServer/build/dist/jetty/webapps/service.war] Error 1
    root@sun: /opt/build.zimbra/ZimbraBuild>

  2. #2
    JoshuaPrismon is offline Zimlet Guru & Moderator
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    9

    Default

    Quote Originally Posted by dijichi2 View Post
    Hi

    Any idea what this error is? Looks like IM source is borked?

    Code:
    compile:
        [javac] Compiling 156 source files to /opt/build.zimbra/ZimbraIM/build/classes
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/AbstractConnection.java:23: org.jivesoftware.database.AbstractConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection
        [javac] public class AbstractConnection implements Connection {
        [javac]        ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:631: org.jivesoftware.database.ProfiledConnection.TimedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedStatement extends StatementWrapper {
        [javac]     ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:719: org.jivesoftware.database.ProfiledConnection.TimedPreparedStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedPreparedStatement extends PreparedStatementWrapper {
        [javac]     ^
        [javac] /opt/build.zimbra/ZimbraIM/src/java/org/jivesoftware/database/ProfiledConnection.java:924: org.jivesoftware.database.ProfiledConnection.TimedCallableStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement
        [javac]     class TimedCallableStatement extends CallableStatementWrapper {
        [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] 4 errors
    
    BUILD FAILED
    /opt/build.zimbra/ZimbraServer/build.xml:315: The following error occurred while executing this line:
    /opt/build.zimbra/ZimbraIM/build.xml:54: Compile failed; see the compiler error output for details.
    
    Total time: 8 seconds
    make: *** [/opt/build.zimbra/ZimbraBuild/../ZimbraServer/build/dist/jetty/webapps/service.war] Error 1
    root@sun: /opt/build.zimbra/ZimbraBuild>
    Check the version of Java you are compiling with. I think the IM code needs to be compiled by a 1.5 JDK.

  3. #3
    dijichi2 is offline OpenSource Builder & Moderator
    Join Date
    Oct 2005
    Posts
    1,176
    Rep Power
    11

    Default

    thanks! confusing it has to be compiled with 1.5 but run with 1.6...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 23
    Last Post: 01-24-2013, 03:44 PM
  2. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  3. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  4. Replies: 14
    Last Post: 12-22-2005, 04:59 PM
  5. Building native libraries on MacOS X
    By ajmas in forum Developers
    Replies: 3
    Last Post: 10-14-2005, 11:00 PM

Posting Permissions

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