cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject [C2] Failed to build
Date Mon, 23 Apr 2001 15:55:07 GMT
Hi,

I have got build error; Cocoon 2 just from CVS:
-------------------------------------------------------------
compile:
     [copy] Copying 12 files to C:\Apache\xml-cocoon\build\cocoon\classes
    [javac] Compiling 224 source files to
C:\Apache\xml-cocoon\build\cocoon\classes
    [javac]
C:\Apache\xml-cocoon\build\cocoon\src\org\apache\cocoon\acting\SendmailActio
n.java:83: Wrong number of arguments in method.
    [javac]       Session session = Session.getDefaultInstance(properties);
    [javac]                                                   ^
    [javac] Note: 5 files use or override a deprecated API.  Recompile with
"-deprecation" for details.
    [javac] 1 error, 1 warning

BUILD FAILED
-------------------------------------------------------------
The problem is that javax.mail.Session does have this method only from
JavaMail version 1.2 (and up), and existing implementations (weblogic up to
6.0sp1, j2sdkee1.2) of JavaMail have another method:
  public static Session getDefaultInstance(java.util.Properties props,
Authenticator authenticator)

So, the question is:
What everybody uses this class with?

PS I tried to compile with WebLogic 6 in classpath.

Vadim


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message