문제

I thought I had this perfectly working but apparently not. I left my project for a vacation, then when I came back and tried to open it, I am getting:

The import org.jsoup cannot be resolved

in all the files that have that import.

If I delete that import and try to automatically resolve Document, it inserts import org.w3c.dom.Document; instead.

What happened to the system and how can I fix this?

Environment: Eclipse 3.6.2 + SDK 3.2 (API13) + jsoup-1.6.1.jar (under Windows XP)

도움이 되었습니까?

해결책

Problem solved (sort of):

It turns out that I tried to start Eclipse under an XP account that's different than the Administrator.

Now I have to find out how to make it work under the other account as well.

다른 팁

In order to get rss links from html source code i used Jsoup java library. Download and add the jar file to your project Java Build Path library.

You can download the jar file by going to http://jsoup.org/download

Once downloaded Right Click on project -> properties -> Select Java Build Path (on left side) -> Select third tab Libraries (on right side) -> Add External Jar -> Browse to downloaded jsoup .jar file.

after this procedure if problem is not solved then right click on Jsoup.jar -> add to build path.

Check Project Properties -> Java Build Path -> Libraries. Make sure jsoup-1.6.1.jar is there.

Edit: Ups, just saw your comment. Project -> Clean... is usually good, too. Or restarting eclipse.

Try add 1.6.1.jar to libs directory in the root folder.

You can download the jar jsoup Once downloaded Right Click on project -> [![properties -> Select Java Build Path (on left side) -> Select third tab Libraries (on right side) -> Add External Jar -> Browse to downloaded jsoup .jar fileafter this procedure if problem is not solved then right click on Jsoup.jar -> add to build path][1]][1]

http://i.stack.imgur.com/nCr2d.jpg

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top