|
From: Patrick W. <jed...@pd...> - 2004-05-10 20:30:23
|
JEdit 4.2pre12, Java 1.4.2_03 I'm using CheckStyle 3.4 (the whole release, not the plugin) in a JEdit plugin I am building. When I run code through the CheckStyle Checker class, get an Error java.lang.NoSuchFieldError: tokenTypeToASTClassMap Discussion groups list this problem as related to using an old version of the Antlr toolkit, which CheckStyle relies on. I have integrated the CheckStyle by copying the checkstyle-all-3.4.jar to the JEdit settings directory. That jar includes antlr.jar. My thought is that perhaps another plugin has already loaded a separate version of antlr.jar which is conflicting. Question: what does JEdit do in this case? Is is possible that a separate set of antlr classes are being loaded by JEdit? Is this dependent on the order in which jars are loaded? I did do a search for "antlr." in my settings/jars directory (where I hav= e plugin source code) and found no references. It could be something else. Thanks Patrick |