Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ClassNotFoundException

 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I am trying out one online example.
But when one of the .jsp file tries to accsess the SimpleItem.java class which is under the "myServlets" package I am getting "java.lang.ClassNotFoundException" error.
As per the name I can understand that the classloader is not able to find the above class in the respective package; but all the .class files are under the WEB_INF/classes/myServlets directory.
Also what I have noticed is though my package name is "myServlets" in the exception it is saying "java.lang.ClassNotFoundException: myServelts.SimpleItem" the package "myServlet" is spelled as "myServelts" . From where it is getting this wrong name? where do I look for the error?
Please help me.
Thanks in advance..
Trupti
[ December 10, 2002: Message edited by: trupti nigam ]
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like a spelling error in your JSP somewhere - probably in an import attribute or jsp:useBean tag.
 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot William..Miss spelled in one of the imports..
It worked..:-)
Trupti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic