Comments (2)
Hi Stefan, thanks for your report. Forgive my ignorance, but what is a multi release jar?
How does this issue affect you in practice, and how can we reproduce this? If you have any insights on how to fix, or a PR, that would be most welcome.
from datafaker.
Multi-release jar: For details see https://openjdk.org/jeps/238. Essentially it is a mechanism to allow JDK version dependent implementation of the same functionality, e.g., to use newly added Java API for an improved implementation, in a single jar.
The problem is caused by a bug in the Maven Shade plugin, see https://issues.apache.org/jira/browse/MSHADE-406.
When building a fat jar, the shaded but not relocated package path conflicts with the real snakeyaml path (for the multi-release classes). In our case the relocated version from datafaker wins and overwrites the correct one, which leads to class not found problems during runtime (caused by the fact that the package name inside the class file was rewritten to the shaded package name).
I created a pull request which should fix the problem.
from datafaker.
Related Issues (20)
- Access the list of countries supported for IBAN HOT 1
- Language code provider HOT 2
- java.lang.RuntimeException: Unable to resolve #{PhoneNumber.subscriber_number} directive for FakerContext when running continuously under very high load and limited heap space HOT 6
- Datafaker as a module HOT 2
- Using Data Faker in a Library with Custom Providers HOT 2
- Add constrained fields feature HOT 2
- Add Muslim Names Feature Request HOT 3
- Lorem words are not unique HOT 9
- Fake schema generating always the same name HOT 3
- Diffierent value if recall values HOT 2
- aws().vpcId() generates invalid id HOT 12
- Missing providers in the docs and old link references
- The faker.date().birthday() method returns different dates when using seed HOT 5
- extra quotes are coming.. and failing the unit tests HOT 3
- Exception during build with 2.0.1: 2 files found with path 'time.aut' HOT 3
- Java Object transformation to list HOT 6
- Faker v2.0.2 generates invalid Sweden SSN HOT 9
- File Content Provider HOT 11
- Being able to differentiate masculine and feminine names HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datafaker.