struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nikos dimitrakas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4974) NullPointerException i DefaultStaticContentLoader#findStaticResource
Date Tue, 30 Oct 2018 13:26:05 GMT
nikos dimitrakas created WW-4974:
------------------------------------

             Summary: NullPointerException i DefaultStaticContentLoader#findStaticResource
                 Key: WW-4974
                 URL: https://issues.apache.org/jira/browse/WW-4974
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.5.18
         Environment: Tomcat 9 on Ubuntu 18 Java 8 struts 2.5.18
            Reporter: nikos dimitrakas


pathPrefixes is null. The defaults that were loaded correctly in previous versions are now
not loaded. The method setHostConfig does not get called like in previous versions.

This causes all js files to not be found. For example 

/struts/js/base/version.min.js

/struts/js/base/jquery-2.2.4.min.js

/struts/js/struts2/jquery.ui.struts2.min.js

/struts/js/struts2/jquery.datatables.struts2.min.js

/struts/js/plugins/jquery.dataTables.min.js



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message