Using Merapi in Processing?
in
Contributed Library Questions
•
3 years ago
Hi,
I want to bridge Processing and AIR. The Merapi project is just what I need. When trying to import the Merapi java library into my Processing sketch, I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at merapi.Bridge.<init>(Bridge.java:360)
at merapi.Bridge.getInstance(Bridge.java:85)
at merapi_test.<init>(merapi_test.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at processing.core.PApplet.main(PApplet.java:7252)
My Java skills aren't hardcore enough to decipher this error message...
Any help getting Merapi to work within Processing is highly appreciated, thanks!
I want to bridge Processing and AIR. The Merapi project is just what I need. When trying to import the Merapi java library into my Processing sketch, I get this error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at merapi.Bridge.<init>(Bridge.java:360)
at merapi.Bridge.getInstance(Bridge.java:85)
at merapi_test.<init>(merapi_test.java:40)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at processing.core.PApplet.main(PApplet.java:7252)
My Java skills aren't hardcore enough to decipher this error message...
Any help getting Merapi to work within Processing is highly appreciated, thanks!
1