I'm new to SimpleJPA, and have run Getting Started as best I can. But
I get the following error - does anyone have a clue on how to fix it?
-- Brian
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/
commons/lang/NotImplementedException
at
com.spaceprogram.simplejpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:
398)
at Main.main(Main.java:23)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.lang.NotImplementedException
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 2 more
> --
> You received this message because you are subscribed to the Google Groups "SimpleJPA" group.
> To post to this group, send email to simp...@googlegroups.com.
> To unsubscribe from this group, send email to simplejpa+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simplejpa?hl=en.
>
> Looks like you don't have Apache Commons Lang in your classpath…
I think so. commons-lang3-3.1.jar is in my classpath, but I get this
error anyway?
-- Brian
> Yeah, looks like that is too new… try commons-lang-2.x
That did the trick! Thank you very much!
-- Brian