[ https://jira.codehaus.org/browse/MRESOURCES-159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292740#comment-292740 ]
finstechj commented on MRESOURCES-159: -------------------------------------- Hi, I just begin to build Maven Project. This problem rose when I was trying to add the filtering block into POM.xml, by creating a sub directory under ${basedir}/src/main/filters, and add <filters></filters> module in the POM.xml. The cmd window shows the error "Error loading property file: 'D:\my-ins\src\main\filters\filter.properties" when I enter the command "mvn process-resources". If you can solve the problem for me ,I would appreciate you a lot > Error loading property file: 'D:\my-ins\src\main\filters\filter.properties' > --------------------------------------------------------------------------- > > Key: MRESOURCES-159 > URL: https://jira.codehaus.org/browse/MRESOURCES-159 > Project: Maven 2.x Resources Plugin > Issue Type: Bug > Reporter: finstechj > > I've deployed filtering files named "filter.properties" in the filters > directory. When I execute the command "process-resources", the console > indicates that " Failed to execute goal > org.apache.maven.plugins:maven-resources-plugin ", Error loading property > file. > In the first place I presume it comes to the version issue, or the location > of the default local repository, but I still could not make it.Three errors > as follows: > 1,Caused by: org.apache.maven.plugin.MojoExecutionException: Error loading > propert > y file 'D:\my-ins\src\main\filters\filter.properties' > 2,Caused by: org.apache.maven.shared.filtering.MavenFilteringException: > 3,Caused by: java.io.FileNotFoundException: > D:\my-ins\src\main\filters\filter.prop > erties > Any suggestions? Thanks a lot. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira