[問題] WebClient cannot be resolved to a type
===================================================
import junit.framework.TestCase;
import org.junit.Test;
import org.junit.Assert;
import com.gargoylesoftware.htmlunit.WebClient;
import com.gargoylesoftware.htmlunit.html.HtmlPage;
final WebClient webClient = new WebClient();
====================================================
有把 WebClient class import進來,
並且 htmlunit-2.4.jar 也有放到classpath裡面,
但是,eclipse還是一直說找不到 type,
想請問有大大知道原因嗎?
謝謝~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.118.62.50
推
02/18 02:48, , 1F
02/18 02:48, 1F
→
02/18 09:57, , 2F
02/18 09:57, 2F
推
02/18 10:32, , 3F
02/18 10:32, 3F
→
02/18 12:17, , 4F
02/18 12:17, 4F