cocoon-dev mailing list archives

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

I have got build error; Cocoon 2 just from CVS:
     [copy] Copying 12 files to C:\Apache\xml-cocoon\build\cocoon\classes
    [javac] Compiling 224 source files to
C:\Apache\xml-cocoon\build\cocoon\src\org\apache\cocoon\acting\SendmailActio 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

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.


To unsubscribe, e-mail:
For additional commands, email:

View raw message