Description
JPMS encapsulates package resources making impossible for other modules to access them without explicitly opening their packages. The quickstart shows the problem with a simple page with a form used in a JPMS Java project. Running 'mvn test' we get the following exception:
Caused by: java.util.MissingResourceException: Unable to find property: 'Form.CSS.hidden-fields' for component: form [class=org.apache.wicket.markup.html.form.Form]. Locale: null, style: null
at org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:268)
at org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:201)
at org.apache.wicket.core/org.apache.wicket.Localizer.getString(Localizer.java:131)
at org.apache.wicket.core/org.apache.wicket.Component.getString(Component.java:1847)
at org.apache.wicket.core/org.apache.wicket.Component.getString(Component.java:1834)
our applications can't read property 'Form.CSS.hidden-fields=hidden-fields' from wicket-core bundle org.apache.wicket.Application.utf8.properties.
Hence we should check packages from different modules (wicket-core, wicket-extentions, etc...) to open those containing resources that must be exposed to all other modules.