'java.lang.LayerInstantiationException Error while running an Openfire project

I'm trying to run this Openfire project after building it according to this guide. The following exception throws after running:

Error occurred during initialization of boot layer
java.lang.LayerInstantiationException: Package sun.security.ssl in both module java.base and module npn.boot

A little help, please?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source