-4

Possible Duplicate:
My code compiles in Eclipse but I get a ClassNotFound at runtime how can I fix it?

I'm referencing Joda Time in an applet and when I debug inside Eclipse everything runs as expected. However when I export my jar file I get an error

java.lang.NoClassDefFoundError: org/joda/time/ReadableInstant

at runtime.

What am I missing?

Community
  • 1
  • 1
funksplutter
  • 23
  • 1
  • 4
  • Many thanks, my question was a duplicate. In the end I used FatJar from a suggestion in one of the replies to the duplicate question. Thanks for pointing me in the right direction. – funksplutter Feb 28 '12 at 15:01

1 Answers1

1

Put the joda jar in the <web-server-root>/webapps/myapp/WEB-INF/lib directory

Bohemian
  • 412,405
  • 93
  • 575
  • 722