Hello Alan,
Thank you very much for your help. With ModuleLayer.Controller I solved the
problem.
Do I understand it correctly — it is impossible to get reference to boot layer
controller,
isn’t it?
--
Best regards, Alex Orlov
>Понедельник, 16 ноября 2020, 22:27 +03:00 от Alan Bateman
Hello all,
I have the following structure
I want to create the following layer structure:
+++
+ Boot Layer +
+++
|
+
+ Web Server Layer +
+
|
On 16/11/2020 18:35, Alex Orlov wrote:
:
When I start my application I get:
java.lang.IllegalAccessError: class org.springframework.core.log.CompositeLog (in module spring.core) cannot access class org.apache.commons.logging.impl.NoOpLog (in module org.apache.commons.logging) because
Hello Alan,
Thank you for such detailed answer. I read it with attention, but still don’t
know how to solve my situation.
Maybe may question didn’t provide all details, so here they are.
I want to create the following layer structure:
+++
+ Boot Layer +
+++
|
On 16/11/2020 09:17, Alex Orlov wrote:
Hello Alan,
Thank you for such detailed answer. I read it with attention, but
still don’t know how to solve my situation.
Maybe may question didn’t provide all details, so here they are.
I want to create the following layer structure:
+++
+ Boot
Hi Alex,
Perhaps a deeper look how Layrry works under the hood does help:
https://github.com/moditect/layrry
If I'm not mistaken, your use-case seems very similar to those Layrry tries
to cope with.
Cheers,
Christian
On Mon, Nov 16, 2020 at 10:17 AM Alex Orlov wrote:
>
> Hello Alan,
>
>
On 15/11/2020 19:16, Alex Orlov wrote:
Hi all,
I create JPMS layer this way:
Configuration cf = parentLayer.configuration().resolveAndBind(moduleFinder, ModuleFinder.of(), moduleNames);
ModuleLayer layer = parentLayer.defineModulesWithOneLoader(cf,
parentClassLoader);
And I have a