Problems with packages (import statements)

I have created a few java classes for which is part of the whole main system which I am going to develop. The problem is, when I compile these classes, anerror message pops up

import es.agp.monitor.components.Information;

import es.agp.monitor.components.resources.ComponentInsta nceResource;

For example, for one of the classes I have included the above two import statements.

But when I compile and run the class, the error message that pops up says that

package es.agp.monitor.components does not exist

There are many other classes that have different types of packages, and ther e are also errors in these classes.

Why do these error messages pop up and how do I resolve them?

Message was edited by:

Aigini

[793 byte] By [Aiginia] at [2007-11-27 9:09:03]
# 1
Make sure that the package name is spelled correctly, and that the package in on the classpath.
hunter9000a at 2007-7-12 21:48:19 > top of Java-index,Java Essentials,Java Programming...