Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem : NoClassFound Error

 
A raviprasad
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am having problem running an applet present in a "A.JAR" file , this applet code calls few class present in "B.JAR" file.
I have put both the JAR files in the root dir of my http server and I am accessing the applet from a client machine.
I have mentioned the ARCHIVE tag in the *.html file and have put both the jar files within the quotes of ARCHIVE tag.
ARCHIVE="A.JAR, B.JAR"
FYI: If i comment out the code which calls or instanciate objets of class present in B.jar file, ie if I use only A.jar it works fine.
Please let me know how to get out this hole. any help regarding this will be greatly appreciated.
regards
arp
 
David Freels
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which browser are you using. Netscape has known bug when referencing multiple jar files.
David
 
A raviprasad
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using Internet Explorer ver 5.
the error seen in the status filed of the IE is
applet not initilized. ( sorry its not NoClass found error)
Thanks.
 
gautham kasinath
Ranch Hand
Posts: 583
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Have u packaged the Applet class files.. Please do if u havent yet done..
Well I had a similar problem wen I was ref. Applet Jar file thru archive tag.. and the Class files were packaged but then the same wudnt come up although the classpath was set.. more over wen I gave the classfiles in a directory heirarchy as per the package and NOT as Jar it worked I wonder y?? I still havent resolved the praw yet..
Regds
Gautham Kasinath
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic