-
Notifications
You must be signed in to change notification settings - Fork 57
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
Unable to run diffChangeLog with spring boot with java 11 #54
Comments
I'll keep an eye out for the next release to see if CORE-3343 gets resolved. In the meantime, if the issue is truly fixed in the master branch, there are a couple of workarounds you could try... Option 1:
Option 2: |
I am building it alone, so option 1 it is. Your suggested solution appears to have work, the URI exception is now gone. It still doesn't work ,though:
This is caused by some weird class, which I do not understand the purpose of. It just returns null/0/false for everything. So then I tried removing
and replaced the line with:
But that amounted to getting a new exception instead:
No idea what that means since postgre driver is clearly listed as a liquibaseRuntime dependency, and I have seen other liquibase configurations that looked just like mine and worked. Anyway, this is just me ranting, your suggestion was helpful. The follow up problems are not related to this issue, or the plugin in general. |
The issue got resolved in Liquibase 3.6.3. You can find a working example in my repo. You just have to use the following:
|
@Kr0oked very cool. it works now. |
Hello. As instructed in #44 , I am opening a new issue here. Not sure if this a proper issue, and as was discussed in the other thread, this most likely is not even fault of LB gradle plugin. Anyway, I will appreciate any help or advice on how I could proceed with this without resorting to Java 8 (which I haven't tried yet, but it should supposedly work).
So, I am trying to generate liquibase changelog based on changed JPA entities. My build.gradle looks like this:
A log from running gradle task in intellij:
Now, a little bit of reading revealed that the fix for this is already merged in the PR liquibase/liquibase#830, but the newest release on maven central is 3.6.2 from 4th July 2018, so the fix remains in master for now. So I tried to include a github repo dependency through jitpack - commented out lines in the build file - but I can't get it to work.
My question is, what options do I have to solve this for now? #44 mentions adding javax.xml.bind:jaxb-api as liquibaseRuntime dependency, so I did that:
liquibaseRuntime("javax.xml.bind:jaxb-api:2.3.1")
But the same thing happens. What steps could I take to properly troubleshoot this? I am not very knowledgeable about how Gradle and its plugins work.
The text was updated successfully, but these errors were encountered: