JApplet NoClassDefFoundError

前端 未结 2 1961
遇见更好的自我
遇见更好的自我 2021-01-26 09:28

I\'m writing an Japplet on Eclipse, and from a moment to another, it stopped to work on the html page.

Here are the errors:

  Exception in thread \"threa         


        
2条回答
  •  终归单人心
    2021-01-26 09:51

    1st thing you did not add gson library in your classpath and second your request(GET /static/java/com/google/gson/Gson.class HTTP/1.1) is wrong.

    If you have gson jar under /static/java like MapGenerator.jar, you could make request for gson jar same as you did for MapGenerator.jar. But you can not make request to get class from that jar.

提交回复
热议问题