Fail maven.plugin

Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.1.1:war (default-war) on project  in pom.xml-->build -->plugins-->add plugin <build> <finalName>${project.artifactId}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <configuration> ...

Spring load .property file and get

test.property [src/main/resource] ------------ #main kk=directory/kk main.wide=this/wide ----------spring import java.io.InputStream; import java.util.Properties; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; @Component @Scope("singleton") public class PropertiesUtil { private InputStream input; private Properties properties ; public...