Missing Singleton Class in com.cloudinary.Singleton
BYH535 opened this issue · 3 comments
BYH535 commented
Hi, I am using the cloudinary API version 1.0.14 and I have created a class exactly like cloudinary_java/samples/photo_album/src/main/java/cloudinary/models/PhotoUpload.java but I have got this error :
aditimadan-Cloudinary commented
Can you please share your pom.xml and did you try with the latest version 1.19.0?
BYH535 commented
aditimadan-Cloudinary commented
Singleton class is part of the taglib library. Make sure to add the cloudinary-taglib to your pom and it will work. It is always recommended to use the latest version. With the older version also Singleton will work if cloudinary-taglib is added.
<dependency> <groupId>com.cloudinary</groupId> <artifactId>cloudinary-taglib</artifactId> <version>1.0.14</version> </dependency>