.dsy:it.
Show 150 posts per page

.dsy:it. (http://www.dsy.it/forum/)
- Didattica in generale (http://www.dsy.it/forum/forumdisplay.php?forumid=115)
-- [java] Problema (http://www.dsy.it/forum/showthread.php?threadid=36622)


Posted by Steff on 12-10-2008 20:02:

Problema java

Ciao quando vado ad eseguire il rogramma Cornice in java mi esce questo messaggio d'errore

Exception in thread "main" java.lang.NoClassDefFoundError: Cornice/class
E non riesco a risolvere il problema la classpath l'ho settata
grazie..


Posted by loreste on 13-10-2008 08:47:

Il file .java si chiama come la Classe?

__________________
La Fede non retrocede mai!
Döma Atalanta!!!!!!!!


Posted by Steff on 13-10-2008 10:25:

si hanno lo stesso nome... ma sono i programmi che ho preso dal docente..


Posted by loreste on 13-10-2008 11:15:

Se lo hai preso dal docente, diciamo che il codice è corretto, se sei certo dei classpath e del fatto che file e classe hanno lo stesso nome allora non so...

__________________
La Fede non retrocede mai!
Döma Atalanta!!!!!!!!


Posted by yeah on 13-10-2008 16:53:

Non ricordo se il problema sussiste anche in Windows, ma il classpath comprende anche la cartella corrente, ovvero hai inserito anche il "."?
Ad esempio, il mio è messo così:

code:
CLASSPATH=.;c:\programmi\aspectj1.5\lib\aspectjrt.jar

__________________
?


All times are GMT. The time now is 15:16.
Show all 5 posts from this thread on one page

Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.