cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Em Huynh" <gio...@hotmail.com>
Subject Mail Example
Date Wed, 31 Jan 2001 23:21:25 GMT
Hi,

Under someones advice (sorry, didn't want to look it up) I checked out the 
mail example (cocoon/mail/mail.xml) to help me learn logic sheets.

I got this error while opening it.

java.lang.Exception: XSP Java Compiler: Compilation failed for _mail.java
21: Class javax.mail.Session not found in import.
      import javax.mail.Session;
             ^
23: Class javax.mail.Store not found in import.
      import javax.mail.Store;
             ^
25: Class javax.mail.Folder not found in import.
      import javax.mail.Folder;
             ^
27: Class javax.mail.Message not found in import.
      import javax.mail.Message;
             ^
29: Class javax.mail.Address not found in import.
      import javax.mail.Address;
             ^
31: Class javax.mail.Part not found in import.
      import javax.mail.Part;
             ^
33: Class javax.mail.Multipart not found in import.
      import javax.mail.Multipart;
             ^
35: Class javax.mail.internet.MimeMessage not found in import.
      import javax.mail.internet.MimeMessage;
             ^
37: Class javax.mail.internet.MimePart not found in import.
      import javax.mail.internet.MimePart;
             ^
9 errors


	at 
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:141)
	at 
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:489)
	at org.apache.cocoon.Engine.handle(Engine.java:359)
	at org.apache.cocoon.Cocoon.service(Cocoon.java:167)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
	at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
	at org.apache.tomcat.core.Handler.service(Handler.java:286)
	at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
	at 
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
	at 
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:166)
	at 
org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
	at 
org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
	at java.lang.Thread.run(Thread.java:484)

I'm pretty sure it means I don't have the javax package. Where do I get it?

My system:
RH 7.0
apache/tomcat/mod-jk/cocoon1.8

Thanks

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


Mime
View raw message