0

I am getting a strange error when trying to display an applet on a page in my tapestry application. The error says that there is an incompatible magic value. Is there a certain way to display applets in tapestry? Any help would be great!

shane87
  • 3,090
  • 12
  • 51
  • 65

1 Answers1

1

This has nothing to do with Tapestry at all.

AFAIK, there are two scenarios that can cause this:

  • The URL to the JAR file is wrong and results in a 404 error. (See this SO question.)

  • You're running the Applet with an earlier version of Java than you compiled it for (say 1.4 with a 1.5 class file).

Community
  • 1
  • 1
Henning
  • 16,063
  • 3
  • 51
  • 65
  • The only reason I thought it was to do with Tapestry is that I can display the applet perfectly outside of tapestry but when I try display it in Tapestry I get the error! – shane87 Jun 02 '10 at 11:54