this simple line of code:
mapper.writeValue(new File(path + File.separator + "FastScreenCapture.yaml"),
config);
serialized my config object into a yaml file correclty.
If I try to use the java modules by simply adding this to the project in a
module-info.java
module FastScreenCapture {
requires java.base;
requires java.desktop;
requires org.freedesktop.gstreamer;
requires static lombok;
requires org.mapstruct.processor;
requires com.sun.jna.platform;
requires com.sun.jna;
requires nrjavaserial;
requires org.eclipse.paho.client.mqttv3;
requires com.fasterxml.jackson.dataformat.yaml;
requires com.fasterxml.jackson.databind;
requires com.fasterxml.jackson.core;
requires com.fasterxml.jackson.datatype.jsr310;
}
jackson write an empty file.
any help?
why the module-info.java file should create this problem?
--
You received this message because you are subscribed to the Google Groups
"jackson-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jackson-user/266364b1-50ad-4a52-8ac0-e9edb773cd1ao%40googlegroups.com.