Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with classes in Jar

 
Ravee Bhat
Ranch Hand
Posts: 72
Eclipse IDE Firefox Browser Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have two applets in different packages extending an applet from someother package.

Applet A is replica of Applet B above. they both have a textfield and button to transfer texts from each other.
now the html is like this

both the jars have the respective Applet classes and their parent class.
now this setting produces a NoClassDefFoundError when I try to send a text from one applet to the other.
And if I mention both the jars in archive attrib then they work. if I change the order (1.jar,2.jar in one tag and 2.jar,1.jar in another) then they throw ClassCastException.
I am very much puzzled by this behaviour.
I use IE 5.0 and Phoenix 0.4 with JRE Plug-in version 1.4.0_01-ea. Could someone throw some light?
thanks and regards
Ravee.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic