tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Alberto Peláez Ayala <c...@cuao.edu.co>
Subject Problem building Tomcat 5.0.19
Date Thu, 26 Feb 2004 20:42:18 GMT
Dear friends,
I try to install the source of Tomcat 5.0.19 in a Linux Red Hat 7.3 box,
using :
Ant 1.6.1. When i excute the "ant build" or "ant" command, appear this
error:

deploy-prepare:

build-catalina-core:

build-catalina-optional:
    [javac] Compiling 22 source files to
/virtual/tomcat_5/jakarta-tomcat-5/build/classes
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/MailSessionFactory.java:71: package javax.mail does not exist
    [javac] import javax.mail.Session;
    [javac]                   ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:71: package javax.mail does not exist
    [javac] import javax.mail.Session;
    [javac]                   ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:72: package javax.mail.internet does not
exist
    [javac] import javax.mail.internet.InternetAddress;
    [javac]                            ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:73: package javax.mail.internet does not
exist
    [javac] import javax.mail.internet.MimeMessage;
    [javac]                            ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:74: package javax.mail.internet does not
exist
    [javac] import javax.mail.internet.MimePart;
    [javac]                            ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:75: package javax.mail.internet does not
exist
    [javac] import javax.mail.internet.MimePartDataSource;
    [javac]                            ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/MailSessionFactory.java:163: cannot resolve symbol
    [javac] symbol: class Session 
    [javac]                     Session session = Session.getInstance(props,
null);
    [javac]                     ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/MailSessionFactory.java:163: cannot resolve symbol
    [javac] symbol: variable Session 
    [javac]                     Session session = Session.getInstance(props,
null);
    [javac]                                       ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:155: cannot resolve symbol
    [javac] symbol: class MimeMessage 
    [javac]                 MimeMessage message = new MimeMessage(
    [javac]                     ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:155: cannot resolve symbol
    [javac] symbol: class MimeMessage 
    [javac]                 MimeMessage message = new MimeMessage(
    [javac]                                               ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:156: cannot resolve symbol
    [javac] symbol: variable Session 
    [javac]                     Session.getInstance(props));
    [javac]                         ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:159: cannot resolve symbol
    [javac] symbol: class InternetAddress 
    [javac]                     message.setFrom(new InternetAddress(from));
    [javac]                                             ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:162: cannot resolve symbol
    [javac] symbol: class MimePartDataSource 
    [javac]                 MimePartDataSource mds = new MimePartDataSource(
    [javac]                     ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:162: cannot resolve symbol
    [javac] symbol: class MimePartDataSource 
    [javac]                 MimePartDataSource mds = new MimePartDataSource(
    [javac]                                                  ^
    [javac]
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/src/share/org/apache/nami
ng/factory/SendMailFactory.java:163: cannot resolve symbol
    [javac] symbol: class MimePart 
    [javac]                     (MimePart)message);
    [javac]                          ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 15 errors

BUILD FAILED
/virtual/tomcat_5/build.xml:50: Following error occured while executing this
line
/virtual/tomcat_5/jakarta-tomcat-5/build.xml:451: Following error occured
while executing this line
/virtual/tomcat_5/jakarta-tomcat-5/build.xml:415: Following error occured
while executing this line
/virtual/tomcat_5/jakarta-tomcat-catalina/catalina/build.xml:633: Compile
failed; see the compiler error output for details.

I´m searching the javax.mail file into the JavaMail API, but i don´t konw if
this is the solution. I hope that you can help me.

Please, sorry for my english and thanks for your attention.


Mime
View raw message