我测试的是javamail里自带的webapp的DEMO,配置完javamail的环境后 运行javamail,但是报错,TOMCAT提示
:An error occurred at line: 47 in the jsp file: /login.jsp
The type javax.mail.Folder cannot be resolved. It is indirectly referenced from required .class files不知道为什么?还有我想问一下,那个想运行这个demo还需要配置哪些文件?谢谢大家

解决方案 »

  1.   

    copy the following two .jar files into "common/lib" directory of ur server 1.mail.jar 
    2.activation.jarif ur using tomcat.....place these two files in tomcat > common > lib directory
    if needed set the classpathset CLASSPATH=C:\tomcat\common\lib;
      

  2.   

    这个包我都配在了classpath 中了  要不CLASSES中的SERVLET和BEAN也不能编译 环境肯定是没什么问题。
      

  3.   

    有测试过JAVAMAIL里自带DEMO的来指点一下!