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
NoSuchMethodError while hot reload #408
Comments
hmm ok for some reason there was a pretty old version of the liquibase-core used, where the method was not present. now I force via the liquibase.version property to use the latest version, so the method is present. |
Nope that does not work ... now I got another exception -.-
|
I got the NoSuchMethodError also in a fresh created jhipster project. Something is messed up with the dependencies ... |
First of all I want to thank the team that has brought JHIPSTER to life. Fantastic!!!! I am having the same issue with the latest version generated using the yeoman generator: Environment: Latest Version of SPRING STS (Version: 3.6.0.M1), Windows 7, Java 8 JDK Scenario: So I'm basically following the example creating a yeomen generated-jhipster application using mysql database for dev and prod. everything generates perfectly and i am able to run the application line using mvn spring-boot:run and from the spring sts. The following log is from STS. STS is configured to use the start up VM Arguments for the Application.java class for hot reload functionality. -javaagent:spring_loaded/springloaded-jhipster.jar entered the following commnad in windows CMD window: all the classes: domain, repository, rest was created but no database table in the mysql database schema called jhipster05. ran another command line for yo jhipster:entity food and that is what the following log: Looking for some help, to figure out if its my set up or if its a bug somewhere with liquibase? The following snippet is the error I see in STS when I attempt to refresh the project. Running the command line above creates the classes but for some reason the java agent for the file watcher that is looking at the class changes doesn't do anything unless you right click the project and select REFRESH. once you do that I get the following error. Exception in thread "Thread-7" java.lang.NoSuchMethodError: liquibase.structure.core.Schema.setDefault(Ljava/lang/Boolean;)Lliquibase/structure/core/Schema Full LOG: [INFO] com.jhipster05.myapp.Application - Starting Application on a-HP with PID 2864 (C:\Users\a\Documents\workspace-sts-3.3.0.RELEASE\test02$GeneratedCodeTests\jhipster_05\target\classes started by a in C:\Users\a\Documents\workspace-sts-3.3.0.RELEASE\test02$GeneratedCodeTests\jhipster_05) -- application-dev.ymlserver: spring:
metrics: cache: You can add as many as folders to watchYou just need to add a dash + the directory to watchhotReload: |
I am closing this issue because it is a duplicate of the bug #413 |
Hi, I'm having the same problem with a fresh project created with version 1.0.0 I verified the pom.xml and application-dev.yml as it was as suggested in #413 What could be wrong? |
Hello,
I updated to the last generator version and rerun it on my project. I also updated the jvm agent.
Now I got this exception while reloading:
I actually don't know how to solve this.
The text was updated successfully, but these errors were encountered: