since after a few days I try to use Joda-time 1.6.2 in the game project. I know that the game platform already comes with Joda-time 2.1, and it should be compatible with 1.6.2 according to the joda-time site.
I am trying to write an application that asks the user for LocalDateTime and saves a class with MongoDB attributes using morphia.
I'm having a problem, I have to use a class that is currently using joda-time 1.6.2, and I cannot change its dependency without updating it to 2.1. Since I am not using joda-Time 2.1, is it possible how to remove this dependency from Play Framework 2.1? so can i use 1.6.2? Or at least say that I specifically want to use version 1.6.2 in my project?
I have tried so far:
- Remove the jodatime folder from the cache dependencies (of course, this will not work, because it always loads again).
- Insert joda-time 1.6.2 depending on the project (both manually and manually).
- Search where the main dependencies are called, so I can remove it (so far no luck).
I forgot to mention that the problem I am facing is when the data comes into morphine for saving, I create a completely new and well-formed class with 4 joda-time fields and continue to receive this error:
[MappingException: Error mapping field:TimeOfDay.TimeStart]
It happens in MorphiaObject.datastore.save(pAccess);
Tomax source
share