How to fix unable to load css file in maven build on maven springmvc project [closed]

Tags: java,css,maven,spring-mvc,tomcat

Problem :

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.

Unable to load CSS in Spring Mavenized project

Solution :

Just delet the previous build war file in webapps folder. then build the project once agin it will works correctly.

    CSS Howto..

    How do I write a CSS for mouse hover [duplicate]

    CSS: How to drill all the underlying layers up to the background?

    How to generate CSS with loop in less

    How to center in div without text-align?

    How to use CSS for formatting Crystal Report in Winform?

    How to Set an if in css for opera browser? [duplicate]

    How to style picture gallery to allow portait and landscape pics that are also links

    How to build sliding horizontal menu. CSS

    CSS: How to limit length of the border-bottom div?

    Bootstrap select dropdown showing selected option above the control

    How to place rectangle inside image and make hover animation for it in CSS?

    Styling the input type=“file”. How do i display the filepath?

    How to add padding space in /div container via CSS?

    How to remove a html table particular column to make other datas visible(responsive) using media queries?

    How to solve Firefox 2.0 cross browser issues?

    How do I get my body to the bottom of my page OR further if necessary?

    How can I stop mobile Safari from pausing before beginning a transition

    How to Convert SASS on the fly to CSS in Python?

    How to make expand-collapse different div heights according to device width using css/javascript

    How to make multiple divs always fill out the whole browser size?

    How to put css and javascript in a common library/ project

    How to have only a vertical scroll bar on a div

    How to get rid of the white vertical stroke after every repeating background image done with repeat-x value in CSS?

    How to add box-shadow to a CSS div with display:table-row? [duplicate]

    How to target html area maps with css

    Node/Grunt - Autoprefixer - How to add configuration to my Gruntfile.js & how to check supported browsers?

    How to convert external css properties to inline property? [closed]

    how to give space for every row (CSS issue)

    How do I add css elements to ng-repeat templates?

    How can I give a child element of one parent a higher z-index than another parent?