[opencms-dev] BUILD FAILED

Jean-Guillaume BIROT j.birot at smart-up.net
Sat Feb 9 09:15:18 CET 2002


Maybe you should download from the CVS server (whiwh doesn't provides the
ExternalComponents folder with all the external JARs). Are you sure you have
the correct JDK 1.3 ?

-----Message d'origine-----
De : owner-opencms-dev at www.opencms.com
[mailto:owner-opencms-dev at www.opencms.com]De la part de Robert Müller
Envoyé : samedi 9 février 2002 08:58
À : opencms-dev at www.opencms.com
Objet : [opencms-dev] BUILD FAILED


Hello,
i downloaded the source code (4.4.6 release) and try to compile. I get the
following errors.
Thanks for the help.

Robert Müller
-------
G:\opencmssource\opencms>ant all
Buildfile: build.xml
clean:
init:
initmsg:
prepare:
    [mkdir] Created dir: G:\opencmssource\build\classes
    [mkdir] Created dir: G:\opencmssource\build\opencms\WEB-INF\lib
    [mkdir] Created dir: G:\opencmssource\build\opencms\WEB-INF\oclib
    [mkdir] Created dir: G:\opencmssource\zip
    [mkdir] Created dir: G:\opencmssource\pdf

compileclasses:
    [javac] Compiling 277 source files to G:\opencmssource\build\classes
    [javac]
G:\opencmssource\opencms\src\com\opencms\core\CmsException.java:365:
 getStackTrace() in com.opencms.core.CmsException cannot override
getStackTrace(
) in java.lang.Throwable; attempting to use incompatible return type
    [javac] found   : java.lang.String
    [javac] required: java.lang.StackTraceElement[]
    [javac]     public String getStackTrace() {
    [javac]                   ^
    [javac]
G:\opencmssource\opencms\src\com\opencms\dbpool\CmsStatement.java:40
: com.opencms.dbpool.CmsStatement should be declared abstract; it does not
defin
e getMoreResults(int) in com.opencms.dbpool.CmsStatement
    [javac] public class CmsStatement implements Statement {
    [javac]        ^
    [javac]
G:\opencmssource\opencms\src\com\opencms\dbpool\CmsPreparedStatement
.java:42: com.opencms.dbpool.CmsPreparedStatement should be declared
abstract; i
t does not define setURL(int,java.net.URL) in
com.opencms.dbpool.CmsPreparedStat
ement
    [javac] public class CmsPreparedStatement extends CmsStatement
implements Pr
eparedStatement {
    [javac]        ^
    [javac]
G:\opencmssource\opencms\src\com\opencms\dbpool\CmsCallableStatement
.java:42: com.opencms.dbpool.CmsCallableStatement should be declared
abstract; i
t does not define registerOutParameter(java.lang.String,int) in
com.opencms.dbpo
ol.CmsCallableStatement
    [javac] public class CmsCallableStatement extends CmsPreparedStatement
imple
ments CallableStatement {
    [javac]        ^
    [javac]
G:\opencmssource\opencms\src\com\opencms\dbpool\CmsConnection.java:4
0: com.opencms.dbpool.CmsConnection should be declared abstract; it does not
def
ine setHoldability(int) in com.opencms.dbpool.CmsConnection
    [javac] public class CmsConnection implements Connection {
    [javac]        ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 5 errors

BUILD FAILED

G:\opencmssource\opencms\build.xml:126: Compile failed, messages should have
bee
n provided.

------------------------








More information about the opencms-dev mailing list