Has anyone found a solution for this problem yet? I've scanned the news groups, search the web all to no avail. This error happens in my servlet when I used JTidy to parse an uploaded file.
Any help would be greatly appreciated. Thanks. Pete. On Fri, 15 Jun 2001 11:20:22 -0400 [EMAIL PROTECTED] wrote: > When running a servlet from within Tomcat I get the following exception: > > java.lang.IllegalAccessError: try to access field > org.w3c.tidy.ParserImpl._parseHead from class > org.w3c.tidy.ParserImpl$ParseHTML 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) ... > > A method in the inner class $ParseHTML is trying to access a private field > _parseHead in the containing class, but that is legal as far as I know. > When I move the body of this servlet to a stand alone application it runs > fine - no exceptions. Is there some strange JVM security manager here that > is different from running as a real application? Anyone have an idea what > is going on? -- Peter Davison [EMAIL PROTECTED] Mary Tyler Moore's SEVENTH HUSBAND is wearing my DACRON TANK TOP in a cheap hotel in HONOLULU! -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
