Hi,
Build is failing in the latest GFv3 checkout. Any idea?
Thanks,
Jane
[INFO] Compiling 554 source files to
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/target/classes
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/MailSessionFactory.java:48:
package javax.mail does not exist
import javax.mail.Session;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:48:
package javax.mail does not exist
import javax.mail.Session;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:49:
package javax.mail.internet does not exist
import javax.mail.internet.InternetAddress;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:50:
package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:51:
package javax.mail.internet does not exist
import javax.mail.internet.MimePart;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:52:
package javax.mail.internet does not exist
import javax.mail.internet.MimePartDataSource;
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/MailSessionFactory.java:48:
package javax.mail does not exist
import javax.mail.Session;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:48:
package javax.mail does not exist
import javax.mail.Session;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:49:
package javax.mail.internet does not exist
import javax.mail.internet.InternetAddress;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:50:
package javax.mail.internet does not exist
import javax.mail.internet.MimeMessage;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:51:
package javax.mail.internet does not exist
import javax.mail.internet.MimePart;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:52:
package javax.mail.internet does not exist
import javax.mail.internet.MimePartDataSource;
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/MailSessionFactory.java:140:
cannot find symbol
symbol: class Session
Session session = Session.getInstance(props, null);
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/MailSessionFactory.java:140:
cannot find symbol
symbol: variable Session
Session session = Session.getInstance(props, null);
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:132:
cannot find symbol
symbol: class MimeMessage
MimeMessage message = new MimeMessage(
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:132:
cannot find symbol
symbol: class MimeMessage
MimeMessage message = new MimeMessage(
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:133:
cannot find symbol
symbol: variable Session
Session.getInstance(props));
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:136:
cannot find symbol
symbol: class InternetAddress
message.setFrom(new InternetAddress(from));
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:139:
cannot find symbol
symbol: class MimePartDataSource
MimePartDataSource mds = new MimePartDataSource(
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:139:
cannot find symbol
symbol: class MimePartDataSource
MimePartDataSource mds = new MimePartDataSource(
^
/export/Glassfish/glassfish_v3_03Jan/v3/web/appserv-webtier/src/main/java/org/apache/naming/factory/SendMailFactory.java:140:
cannot find symbol
symbol: class MimePart
(MimePart)message);
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
15 errors
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Fatal error compiling
Embedded error: APT failed: 1