[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: JavaMail and RCP, NoSuchMethodException: com.sun.mail... <Init> ...

The problem was, that activation.jar and mail.jar where in the JRE/lib/ext
directory...
I removed them and builded a plugin from the jars and it worked...

"Günther Humer" <guenther.humer@xxxxxxxxxxxxxxxxxxx> schrieb im Newsbeitrag
news:diiu02$g3b$1@xxxxxxxxxxxxxxxxxxx
> Hi,
> I am trying to include JavaMail into my RCP application but I get errors
and
> errors...
>
> The problem is that JavaMail should be in the root-class-path but the
> project doesn't recongnize it.
>
> So I added
> mail.jar and
> activation.jar
> to the project build path.
> I also tried to set the
> Bundle-ClassPath:
>
> in the Manifest.
>
>
>
> I dont get a ClassNotFoundException and compiling works.
>
> But now I get the exception (subject)
>
> Thanks for help!
>
> PS: The problem is not with JavaMail, because my code works fine in a
> "simple" Java Project
>
>