import org.testng... cannot be resolved

6,500 views
Skip to first unread message

Jeff

unread,
Apr 18, 2006, 4:06:10 PM4/18/06
to testng...@googlegroups.com
New to TestNG & Eclipse, and cannot get the example1 to build. The import is unresolved. The TestNG pkg was installed, testng-4.7-jdk14.jar & testng-4.7-jdk15.jar are in the TestNG folder that is included in the Eclipse Java Classpath Variable preferences. So import org.testng.annotations.*;
isn't resolved. This is likely something simple. Using Eclipse 3.1.2 and TestNG 4.7. I searched the thread archive and didn't see anything. TIA for any help.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=26433&messageID=52012#52012

Cédric Beust ♔

unread,
Apr 18, 2006, 4:13:19 PM4/18/06
to testng...@googlegroups.com
Hi Jeff,

You should only include one of these two jars, and since this example uses JDK5, it should be testng-4.7-jdk15.jar, which contains that package.

--
Cedric
Reply all
Reply to author
Forward
0 new messages