Skip Headers
Oracle TopLink Developer's Guide
10g Release 3 (10.1.3)
B13593-01
  Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

Common Classpath Problems

The following are some common TopLink Workbench error messages that may result from invalid classpath information. See "Configuring Project Classpath" for more information.

The TopLink Workbench does not display the class(es) to import.
Cause: Your classes are not available for import on the Select Classes dialog box.
Action: Ensure that the class is in your project's classpath (on the project's General properties tab). Ensure that the class is in the .zip or .jar file. You cannot import compressed classes.
The TopLink Workbench generates an exception error when importing classes.
Cause: TopLink class import utility did not start correctly. One of the classes includes a static initialization method, which may cause the import utility to fail.
Action: Ensure that your project's classpath points to the root directory of your package hierarchy. For example, to import the com.company.class package in the C:\classes\com\company directory, your project classpath should be C:\classes\.
The TopLink Workbench fails to import the class, but does not generate an exception error.
Cause: The classpath containing your JDBC drivers should still be on your system CLASSPATH. TopLink Workbench classpath is for domain classes only.
Action: Ensure that you have properly indicated the directories that contain your domain class(es) to map on the project's General tab.