Playframework + Tomcat Deployment issue

后端 未结 2 1934
借酒劲吻你
借酒劲吻你 2021-01-13 18:27

I am trying to deploy a web app developed in play framework in Tomcat. The first few times I tried, I got the following message in the Tomcat console,

INFO:          


        
2条回答
  •  梦谈多话
    2021-01-13 18:57

    First I had the same problem like you when I deployed a play webapp to Tomcat 7, but then I got it running:

    1. Yes, you have to manually remove the geronimo-servlet_2.5_spec-1.2.jar library
    2. The reason might be an additional error that has nothing to do with the first problem. Please look into the /logs/catalina.out log file and also into the /logs/localhost..log file! In my case it was a missing JDBC library. I added the missing library to the play applications /lib directory, recreated the war file, again removed the geronimo-servlet_2.5_spec-1.2.jar and after that my application worked under Tomcat 7.0.25

提交回复
热议问题