具体步骤:
File -> Project Structure (ctrl + shift + alt + s ) -> Module -> Dependencies -> Add... -> Library... -> Attach Classes.
IntelliJ IDEA 10.5.1 引用外部Jar包
原文:http://www.cnblogs.com/ceshi2016/p/7237084.html