After opening a Project, you need to reference the package to all set: Right-click ProjectName - "Properties -" Libraries tab (Add package) - "Order and Export tab (tick), OK!
Right-click Build.xml - "Run -" Ant Build. Set build.properties
Append2007-01-19:
Right-click Project - "Properties-" Java Build Path - "Source-" Add Floder Select the Java and Test directories, which can exclude errors from Package introduced SRC /