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.

http://search.maven.org/#browse%7C-990531281

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top