我正在尝试在Eclispe中运行Processing sketch,它使用了很棒的ControlP5库。草图在Processing IDE中运行没有问题。这条线
controlP5 = new ControlP5(this);
当我从eclipse运行它时,抛出以下错误:
Exception in thread "Animation Thread" java.lang.IllegalAccessError: tried to access field processing.core.PFont$Glyph.value from class controlP5.BitFont
at controlP5.BitFont.<init>(Unknown Source)
at controlP5.ControlP5.<clinit>(Unknown Source)
at basic_controls.setup(basic_controls.java:46)
at processing.core.PApplet.handleDraw(PApplet.java:1579)
at processing.core.PApplet.run(PApplet.java:1503)
at java.lang.Thread.run(Thread.java:722)