Closed torelk closed 5 years ago
I just tried it with your .yo-rc.json
configuration (just had to replace the JWT has yours is wrong), and I had no problem at all. Did you change anything from the generated code?
Unfortunatly i am not the only person working on this project so I cant give you a clear answer here... but, I've edited a service and resource file genereated for an entity. From my understanding these are quite unrelated to the already generated test files for the entity (where the error is occuring). And to be clear ive only added additional code, i made sure to not remove anything or edit anything that exists.
Could you describe how my JWT was wrong? are you refering to it being 'xxx'?
I added the latest version of byteBuddy to my build.gradle file and the error does not occur any more. Id still like to help resolve this issue but i feel like one of my colleagues might have simply edited something without understanding its purpose.
Thanks @torelk this was probably caused by someone else's change
Overview of the issue
When running the tests, the application fails to start. with the error listed below, it is looking for a method called 'appendMostSpecific' which can be found in byteBuddy.
The monolith application was generated with version 1.7.11 of byteBuddy but I checked the GitHub release and just as the error message says, the method does not exist in this version of byteBuddy.
here is a link to the class in version 1.7.11: https://github.com/raphw/byte-buddy/blob/428199457be2933806adfdbd0204c8b0a56728b7/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/loading/MultipleParentClassLoader.java
the class contains the method needed in the latest version, here is a link: https://github.com/raphw/byte-buddy/blob/master/byte-buddy-dep/src/main/java/net/bytebuddy/dynamic/loading/MultipleParentClassLoader.java
here is the error message:
JHipster configuration
INFO! Using JHipster version installed globally INFO! Executing jhipster:info INFO! Options: from-cli: true Welcome to the JHipster Information Sub-Generator
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
git version 2.19.1.windows.1
node: v10.15.0
npm: 6.6.0-next.1
yeoman: 2.0.5
yarn: 1.13.0
INFO! Congratulations, JHipster execution is complete!