Salve vi posto l'errore che mi dà quando eseguo in netbeans


run:
Exception in thread "main" java.lang.NoClassDefFoundError:
Ordine/ProgettoPersistentManager
at orm.CreateProgettoData.main(CreateProgettoData.jav a:77)
Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)





quando clicco su CreateProgettoData.java:77 per vedere l'errore mi compare il file:



package orm;

/**
* Licensee: Passionate Programmer
* License Type: Purchased
*/
import Ordine.*;

import org.orm.*;



public class CreateProgettoData {
public void createTestData() throws PersistentException {
PersistentTransaction t = ProgettoPersistentManager.instance().getSession(). beginTransaction();
try {
Accessori accessori = AccessoriFactory.createAccessori();
// Initialize the properties of the persistent object here
accessori.save();
Agente agente = AgenteFactory.createAgente();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : _provvigioni, ClienteID
agente.save();
CapoFactory capofactory = CapofactoryFactory.createCapofactory();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : Discriminator, ModellocodMod, AccessoriID, VestibilitaID, Tessuto_codTessuto
capofactory.save();
Capolineitems capolineitems = CapolineitemsFactory.createCapolineitems();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : Taglia, CapoFctoryCodCapo, OrdineID, Quantita
capolineitems.save();
Cliente cliente = ClienteFactory.createCliente();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : listino_codListino, _zona, _recapito_tel, _nazione, _indirizzo, _cognome, _nome
cliente.save();
ComponenteAggiuntiva componenteaggiuntiva = ComponenteaggiuntivaFactory.createComponenteaggiun tiva();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : AccessoriID, _nomeComp, ModellocodMod
componenteaggiuntiva.save();
Fornitore fornitore = FornitoreFactory.createFornitore();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : ClienteID
fornitore.save();
Giacenza giacenza = GiacenzaFactory.createGiacenza();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : _lottoMinRiordino, _impegni, _giacEffettiva
giacenza.save();
Listino listino = ListinoFactory.createListino();
// Initialize the properties of the persistent object here
listino.save();
MagazzinoSingleton magazzinosingleton = MagazzinosingletonFactory.createMagazzinosingleton ();
// Initialize the properties of the persistent object here
magazzinosingleton.save();
Modello modello = ModelloFactory.createModello();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : codMod
modello.save();
Opzione opzione = OpzioneFactory.createOpzione();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : vestibilitaID, listino_codListino, ComponenteAggiuntivaID, _selezionata, _tempo, _prezzo, _nome
opzione.save();
Ordine ordine = OrdineFactory.createOrdine();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : _completato, _stato, _dataSpedizione, _dataConsegna, _dataOrdine, ClienteID
ordine.save();
Tessuto tessuto = TessutoFactory.createTessuto();
// TODO Initialize the properties of the persistent object here, the following properties must be initialized before saving : FornitoreID, GiacenzaID, _fascia_prezzo, _prezzo_metro, MagazzinoSingleton, _codTessuto
tessuto.save();
Vestibilita vestibilita = VestibilitaFactory.createVestibilita();
// Initialize the properties of the persistent object here
vestibilita.save();
t.commit();
}
catch (Exception e) {
t.rollback();
}

}

public static void main(String[] args) {
try {
CreateProgettoData createProgettoData = new CreateProgettoData();
try {
createProgettoData.createTestData();
}
finally {
ProgettoPersistentManager.instance().disposePersis tentManager();
}
}
catch (Exception e) {
e.printStackTrace();
}
}
}