Problems in generating UUID using com.day.util.UUID
Hi Team,
I'm trying to generate UUID using com.day.util.UUID.create() and using constructor also.
I'm getting the below exception while generating through constructor -
Exception in thread "main" java.lang.InternalError: MD5 not available
at com.day.util.UUID.<init>(UUID.java:147)
I'm getting the below exception while generating through create() method-
Exception in thread "main" java.lang.NullPointerException
at com.day.util.UUID.<init>(UUID.java:190)
at com.day.util.UUID.create(UUID.java:328)
Do I need to set up anything before generating UUID using com.day.util.UUID api? I'm using "day-commons-misc-1.1.2.jar". Because, the below maven dependencies are not working for me -
<dependency>
<groupId>com.day.commons</groupId>
<artifactId>day-commons-misc</artifactId>
<version>1.1.2</version>
<scope>provided</scope>
</dependency>
Any idea?
Please let me know.
Thanks,
AryA.