Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I downloaded the .jar Jsoup file from jsoup.org/download. I then ran eclipse and imported the .jar files into a java project. However, I keep getting an error when I type

import org.jsoup.nodes.*;

I want to use the Document class in that file.

I made sure the syntax was correct and everything, but the error won't go away. Anyone know what the problem could be?

Thanks
Posted
Comments
TorstenH. 18-Nov-11 1:20am    
now - serious, partly complicated question:
WHAT kind of error do you get?
CSLexy 18-Nov-11 16:23pm    
The program didn't recognize the Document class I was using. It is part of the Jsoup.jar files. Every time I would type:
import org.jsoup.nodes.*;
I would get an error saying that those files are no where.

1 solution

Did you read this[^]?
 
Share this answer
 
Comments
Nagy Vilmos 18-Nov-11 10:49am    
How very clear of you
Richard MacCutchan 18-Nov-11 12:10pm    
It took quite while to find; must've been all of 10 seconds.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900