我在github上的项目:https://github.com/henryyan/kft-activiti-demo
通常未经检查的“服务模块而不发布”,项目可以启动。选中发生错误后(Tomcat6是好的!):
由: /Users/henryyan/work/projects/activiti/kft-activiti-demo/src/main/webapp/WEB-INF/classes/applicationContext.xml :java.io.FileNotFoundException引起(没有这样的文件或目录)
为什么从"applicationContext.xml“找到文件"src",它应该是目标/类。
发布于 2012-12-29 21:03:43
我认为您需要将资源作为web资源添加到maven-war插件中:
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1.1</version>
<configuration>
<webResources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</webResources>
</configuration>
</plugin>
https://stackoverflow.com/questions/14083711
复制相似问题