New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jar Hell #177
Comments
Could you please upload a sample application replicating the problem? |
Ok I created a sample app mostly just copying the build.gradle: Although I get a slightly different jar hell error it complains about: and when I comment that out, I get back to it complaining about the logging libraries. However I have seen it also complain about xmlpush and some other xml jar, in my main app. |
After looking back at the documentation there doesn't seem to be a version of the plug-in that's supported for 3.0.x, could this be the source of my problems, and frustration? I got further by trying the steps bellow, but it still doesn't really work. I changed my build.gradle to have:
and my application.groovy to have:
and I removed: While I seem to get past compilation, but if I try MyDomain.search('anything') (I did add a searchable mapping for the domain), I get a missing method exception. If I try the elasticSearchService, I get a no class def error for: |
So I did try the plugin with Grails 3.2, and it worked. So the first plan to to upgrade then pursue search. |
@virtualdogbert I have sent a pull request which is working fine. Please let me know if that helps. |
I keep running into a jar hell error on start-up. I'm trying to just have a bare bones setup for a poc.
I'm running Grails 3.0.11
So in my application.groovy I have:
And I found I have to add the following to avoid a path.home error:
if I add
-Des.path.home=/ptmp/progs/elasticsearch-2.3.3
But I end up getting the error below, wch alternates between log4j and xmlpull/xpp3_min.
Any ideas on what I can do to get past this error?
The text was updated successfully, but these errors were encountered: