| View previous topic :: View next topic |
| Author |
Message |
laredotornado@zipmail.com Guest
|
Posted: Tue May 24, 2005 12:57 pm Post subject: "Class not found" vs ClassNotFoundException |
|
|
Hello,
I was hoping someone could decipher the different compillation
errors I was receiving. What is the difference between a "Class not
found" error
/tmp/support/jsp_servlet/_www/__listCurriculum.java:75: Class
cms.logic.Curriculum not found.
probably occurred due to an error in /www/listCurriculum.jsp line 7:
<jsp:useBean id="curriculum" scope="page" class="cms.logic.Curriculum"
/>
and a ÇlassNotFoundException?
/www/listCurriculum.jsp(7): Could not create a bean of type:
cms2.logic.Curriculum: java.lang.ClassNotFoundException:
cms2.logic.Curriculum
probably occurred due to an error in /www/listCurriculum.jsp line 7:
<jsp:useBean id="curriculum" scope="page" class="cms2.logic.Curriculum"
/>
Thanks for the advice, - Dave
|
|
| Back to top |
|
 |
kaeli Guest
|
Posted: Tue May 24, 2005 2:06 pm Post subject: Re: "Class not found" vs ClassNotFoundException |
|
|
In article <1116939447.627697.297470 (AT) g44g2000cwa (DOT) googlegroups.com>,
[email]laredotornado (AT) zipmail (DOT) com[/email] enlightened us with...
| Quote: | Hello,
I was hoping someone could decipher the different compillation
errors I was receiving. What is the difference between a "Class not
found" error
/tmp/support/jsp_servlet/_www/__listCurriculum.java:75: Class
cms.logic.Curriculum not found.
|
[snip]
| Quote: | and a ÇlassNotFoundException?
/www/listCurriculum.jsp(7): Could not create a bean of type:
cms2.logic.Curriculum: java.lang.ClassNotFoundException:
cms2.logic.Curriculum
|
Seems like...
The first is a compile time exception. The second is a runtime exception.
Do a stack trace to see more detail about what's going on.
--
--
~kaeli~
The man who fell into an upholstery machine is fully
recovered.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace
|
|
| Back to top |
|
 |
laredotornado@zipmail.com Guest
|
Posted: Tue May 24, 2005 5:09 pm Post subject: Re: "Class not found" vs ClassNotFoundException |
|
|
Actually the second error is also a compilation error. It was thrown
before the JSP page could even compile.
|
|
| Back to top |
|
 |
|