Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-24-2007, 05:23 PM
OpenSource Builder & Moderator
 
Posts: 1,166
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>
Reply With Quote
  #2 (permalink)  
Old 09-24-2007, 07:16 PM
Zimlet Guru & Moderator
 
Posts: 467
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.
Reply With Quote
  #3 (permalink)  
Old 09-27-2007, 06:27 AM
OpenSource Builder & Moderator
 
Posts: 1,166
Default

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.