Error in velocity and log4J

前端 未结 6 1714
梦谈多话
梦谈多话 2021-01-04 00:29

I built a webapp that works perfectly fine in my localhost (tomcat). But when I tried to deploy, velocity crashes in init(), leaving me with this strange stack trace here (s

6条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-01-04 00:51

    I think this line has the answer. Looks like there is an issue creating the velocity.log file. What does your configuration file look like?

    Caused by: java.io.FileNotFoundException: velocity.log (Permission denied)
    

提交回复
热议问题