eclipse-添加jar包时别放到资源文件夹中

eclipse开发时,有时需要添加jar包,这个时候应该新建一个普通文件夹,然后将jar包,放入文件夹中,最后 将jar包 右键 add build path 中。

如果将jar包 添加到 Source folder 中,那么 在代码中 还是无法 引入已经 添加了的jar包。 仍需要将 Source folder 中的 jar 包 右键 add build path 中。

综上来看,将jar包 直接 右键 add build path 中,就OK了,不需要 将jar包 添加到 Source folder 中。

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments