You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This issue is happen when you wrap benerator-ce-3.1.0.jar into another jar, then execute with java -jar.
The root cause is that it cannot loadClass from inner jar file: spring-boot-test.jar -> benerator-ce.jar => com.rapiddweller.domain.address
To Reproduce
Steps to reproduce the behavior:
Create a spring boot project
Add benerator-ce 3.1.0 into pom.xml
Add a function with:
try (DescriptorRunner runner = new DescriptorRunner("benerator.xml", new DefaultBeneratorContext())) {
runner.runWithoutShutdownHook();
mvn clean package: to build jar
java -jar target/file.jar to start spring boot server
Call an API to call function 3
Expected behavior
The behavior of "import" is very different from version 2.0.0 and 3.1.0. Need to take more time to check the different.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
This issue is happen when you wrap benerator-ce-3.1.0.jar into another jar, then execute with java -jar.
The root cause is that it cannot loadClass from inner jar file: spring-boot-test.jar -> benerator-ce.jar => com.rapiddweller.domain.address
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The behavior of "import" is very different from version 2.0.0 and 3.1.0. Need to take more time to check the different.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: