Apache Commons Email install in Eclipse: cannot be resolved
-
28-10-2019 - |
Вопрос
I'm sorry, I do not have enough reputation to comment on others posts, so I have to ask a new Question.
I'm on ubuntu Linux 11.10, and I'm trying to install the Commons Email in eclipse. But the only files I can download is tar.gz and .zip. These cannot be imported with the method described in the other thread, where you add external jars in the projects libraries. I tried to drag the "src" folder into my "src" folder in my project. That gives the error "... cannot be resolved" What am I doing wrong?
Решение
Just about all of the Apache commons code is also in the central Maven repository which has jar that are easy to import/use.
I just went to the search bar and looked for apache commons email
:
http://search.maven.org/#search%7Cga%7C1%7Capache%20commons%20email
Другие советы
Extract either the tar.gz or the .zip file from the files listed under "Binaries", and these will contain the .jar file or files that you are looking for.