unpackWARs 属性定义为 false 当我这样做的时候,虽然应用程序已经成功部署,但是当我尝试访问我的url时,我总是得到一个 404错误 . 例如,当我尝试访问index.html这样的直接文件时,我没有收到这个错误。 jsp
unpackWARs
false
jsp
有人知道我还做了什么吗?
我只需要在web.xml文件中添加如下配置:
<context-param> <param-name>br.com.caelum.vraptor.packages</param-name> <param-value>the.name.of.my.package</param-value> </context-param>