[ https://issues.apache.org/jira/browse/MTOMCAT-139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13251465#comment-13251465 ]
Morten Haraldsen commented on MTOMCAT-139: ------------------------------------------ AbstractRunMojo.java (trunk): /** * The static context * * @parameter expression="${maven.tomcat.staticContextPath}" default-value="/" * @since 2.0 */ private String staticContextPath; /** * The static context docroot base fully qualified path * if <code>null</code> static context won't be added * * @parameter expression="${maven.tomcat.staticContextPath}" * @since 2.0 */ private String staticContextDocbase; Looking at the above, the code shows parameter expression="${maven.tomcat.staticContextPath} for both fields staticContextDocbase and staticContextPath. Also, staticContextPath can never be null, as it is set to default "/" > All static resources gives error 404 > ------------------------------------ > > Key: MTOMCAT-139 > URL: https://issues.apache.org/jira/browse/MTOMCAT-139 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Components: tomcat7 > Affects Versions: 2.0 > Reporter: Morten Haraldsen > Assignee: Olivier Lamy (*$^¨%`£) > > Using beta-1 it works fine, but using SNAPSHOT gives 404 for all static > resources. > Looking at https://issues.apache.org/jira/browse/MTOMCAT-137 and the code I > suspect this is the culprit. (I'm not using the static context feature) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org