Menu

getting java.lang.IllegalAccessError

Help
2004-10-06
2012-10-09
  • Nobody/Anonymous

    Hi,

    when using JTidy from a stand alone application everything works fine. But when running the same code from inside a Lotus Domino java agent I keep getting this error:

    java.lang.IllegalAccessError: org.w3c.tidy.ParserImpl._parseHead

    at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java)

    at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java)

    at org.w3c.tidy.Tidy.parse(Tidy.java)

    at org.w3c.tidy.Tidy.parseDOM(Tidy.java)

    What could be the reason why?

    Thanx a lot for your time ;-)

    Hagen Altmann

     
    • Vlad Skarzhevskyy

      This error can only occur at run time if the definition of a class has incompatibly changed.

      ._parseHead is the access to inner calss ParseHead

      Looks like Domino do not load inner classes in class loader...

       

Log in to post a comment.