How to fix unable to load css file in maven build on maven springmvc project [closed]
I create a search application in maven springmvc. when run it on terminal is shows the following error:
Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.0.2:war (default-war) on project search-qc-ui: Could not explode webapp... Unable to open file /usr/local/tomcat/webapps/Myproject/styles/classadmin/sss.css for writing. -> [Help 1]
I also referenced it on the below link but I am not able to fix it.Is anyone knows it pleaselet me know as soon as possible.
Just delet the previous build war file in webapps folder. then build the project once agin it will works correctly.