This rule flags Java code that has references to the org.springframework package.
Spring applications might not run correctly on Liberty if the web archive (WAR) file is not expanded. You can deploy the application as an expanded web application by extracting the WAR file contents into a directory with the same name as the WAR file. If your web application is contained inside an enterprise archive (EAR) file, you must expand both the EAR file and the corresponding WAR file.
In Liberty V8.5.5.8 and later, you can configure your Liberty server to automatically expand
application EAR and WAR files by setting the application manager autoExpand attribute.
All newly created servers contain this configuration by default.
If you do not set the configuration option, applications are not expanded,
so any servers that were created prior to V8.5.5.8 will continue to leave applications in
unexpanded archive files.
To automatically expand application EAR and WAR files, set the autoExpand
option to true as shown in the following server.xml example:
<server description="default server">
<applicationManager autoExpand="true"/>
<featureManager>
<feature>servlet-3.0</feature>
</featureManager>
</server>