5 Apr 2004 09:10
Re: can't find swing class
I think this was a known bug and I think its been fixed in CVS HEAD. Any chance you could try against the latest in CVS and see if it works? On 4 Apr 2004, at 04:20, matthew-tancreti@... wrote: > Hello everyone, this is my first post. After playing with Groovy for a > few days, > I see a lot of good stuff I like. I just ran into a strange problem > with not > being able to find a swing class. Here is the Groovy code. > > class MyParser extends > javax.swing.text.html.HTMLEditorKit.ParserCallback { > public static void main(String[] args) { > MyParser p = new MyParser() > println("Hello") > } > } > > Here is the error. > > groovyc MyParser.groovy > Apr 3, 2004 8:32:56 PM org.codehaus.groovy.ast.ClassNode findClassNode > WARNING: Cannot find class: > javax.swing.text.html.HTMLEditorKit.ParserCallback > due to: java.lang.ClassNotFoundException: > javax.swing.text.html.HTMLEditorKit.ParserCallback > > Just to make sure the the code was correct I compiled and ran this > code in Java > with no problems. > > class MyParser extends > javax.swing.text.html.HTMLEditorKit.ParserCallback { > public static void main(String[] args) { > MyParser p = new MyParser(); > System.out.println("Hello"); > } > } > > Anyone know why Groovy can't find this swing class? > > _______________________________________________ > groovy-user mailing list > groovy-user@... > http://lists.codehaus.org/mailman/listinfo/groovy-user > > James ------- http://radio.weblogs.com/0112098/
RSS Feed