2

Why am I getting this error? I already imported the jar file in my eclipse project.

1 Answer 1

3

You will need to add it to your project's build path.

Sign up to request clarification or add additional context in comments.

2 Comments

But if I do import org.apache.commons.*; then there is no error. Why is that? All the apache common jar files are in the same directory
@mrburns: "But if I do import org.apache.commons.*; then there is no error. Why is that?" -- perhaps you only have one of the JARs in your build path.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.