Comments (4)
Probably it's taking a minute to start because Smooks is compiling the DFDL schema EDIFACT-Messages.dfdl.xsd
. Try setting to true the cacheOnDisk
attribute on edifact:unparser
to reduce the startup time. As for the errors, I can't comment on them until I can reproduce the errors locally.
from smooks.
Thanks for the tip about cacheOnDisk
- sadly it doesn't seem to improve initializiation time much in my project.
Here is a small sample project with a lot of dependencies. It just initializes Smooks, which takes about 14 seconds on my machine. In addition a lot of ClassNotFoundExceptions are thrown.
https://github.com/domids/smooks-startup-test
Thank you very much for your effort!
from smooks.
Your application started up on my machine without a hitch on Java 11 but I do get errors for Java 8:
java.lang.UnsupportedClassVersionError: META-INF/versions/11/module-info has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
My guess is that one or more app dependencies are Java 8 incompatible.
from smooks.
To verify it works with Java 8 I created a GitHub action: https://github.com/domids/smooks-startup-test/runs/4441572234?check_suite_focus=true
The interesting thing is, it doesn't throw any exceptions. So I ran the tests locally with Maven and there weren't also any exceptions. It seems the culprit was executing the application/tests via IntelliJ IDEA.
Sorry for bothering you and thank you for the help.
from smooks.
Related Issues (20)
- error in opening zip file in Initialisation HOT 4
- Where is ConfigParam? HOT 1
- EDI message processing failed - expected to contain 2 fields. Actually contains 1 fields HOT 1
- Memory issue with edi to java parsing | smooks version: 2.0.0-RC1 HOT 2
- Class loader used for loading ContentHandlerFactory is not the same as the one set in ApplicationContext
- CSV Reader not escaping double quotes HOT 2
- How to map json to json HOT 3
- Smooks-all for 2.0 HOT 3
- Convert JSON to JSON without a Java Bean HOT 1
- Upgrade to atleast java 9 to use Jakarta EE 9 namespace HOT 3
- springboot 2.3 conflict HOT 2
- factory.toUNEdifact() BigDecimal Value... HOT 2
- cannot be cast to org.smooks.engine.delivery.sax.ng.org.apache.xerces.util.SecurityManager HOT 1
- CVE-2023-51079 in mvel dependency HOT 1
- Selector matches the node despite the namespace URIs being different
- delegate-reader throws "com.fasterxml.aalto.WFCException: Invalid UTF-8" when writing multi-byte characters
- NoSuchFileException when instantiating Smooks HOT 3
- Regression in v2 when the last step in the selector has a predicate index
- <core:delegate-reader> doesn't properly rewrite the attribute xmlns=""
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 smooks.