Closed raywang8341 closed 8 years ago
I'm leaving for holiday tomorrow. The original issue on SO was about MongoDb misconfiguration on a gateway; after fixing it, it's now about missing classes with UAA, so maybe @sdoxsee can help as I haven't got into UAA yet.
I'am also wondering whether there could be a problem with generation of application-prod.yml for a Gateway using MongoDB
User has since created a new question on SO: https://stackoverflow.com/questions/39323801/could-not-create-vfs-dir-from-url
Cross posting is not cool :-(
Closing this as I don't want to have cross posts: it's either an issue, or a question, but not both. That's not nice for other people looking for answers.
Sorry for misunderstanding. this issue was created for Missing dependency commons-vfs2/2.0. I will close it since I have post a related thread on stackoverflow. Have a nice holiday.
Hi, I followed this example to generate microservice. My current Jhipster version is 3.6.1. I got below error:
WARN 43029 --- [ main] org.reflections.Reflections : could not create Dir using commons_vfs2 from url file:/System/Library/Java/Extensions/libJ3DAudio.jnilib. skipping. java.lang.NoClassDefFoundError: org/apache/commons/vfs2/VFS at org.reflections.vfs.Vfs$DefaultUrlTypes$7.matches(Vfs.java:281)
After Gaël Marziou suggested on stackoverflow. I added commons-vfs2/2.0 dependency in my pom file and build again. but got another error:
Stack trace
``` 2016-09-04 20:18:33.692 WARN 45494 --- [ main] org.reflections.Reflections : could not create Vfs.Dir from url. ignoring the exception and continuing org.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [file:/System/Library/Java/Extensions/libJ3DAudio.jnilib] either use fromURL(final URL url, final ListThe example I followed is here: https://simplestepsolutions.wordpress.com/2016/07/27/jhipster-3-5-1-microservices-with-uaa/