AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Class not found" vs ClassNotFoundException

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
laredotornado@zipmail.com
Guest





PostPosted: Tue May 24, 2005 12:57 pm    Post subject: "Class not found" vs ClassNotFoundException Reply 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.
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





PostPosted: Tue May 24, 2005 2:06 pm    Post subject: Re: "Class not found" vs ClassNotFoundException Reply with quote



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





PostPosted: Tue May 24, 2005 5:09 pm    Post subject: Re: "Class not found" vs ClassNotFoundException Reply with quote



Actually the second error is also a compilation error. It was thrown
before the JSP page could even compile.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.