Could not open or put a Hibernate Session in ValueStack: JDBC Driver class not found: com.mysql.jdbc.driverFile: com/googlecode/s2hibernate/struts2/plugin/interceptors/SessionTransactionInjectorInterceptor.javaLine number: 134
JDBC Driver class no
我使用struts2创建了一个web应用程序,hibernate with mysql。我迁移到play框架,所以现在我有两个应用程序实例,一个用play编写,另一个用struts2编写。我可以看到play的性能有了很大的提升,然而,当我使用JMeter模拟负载时,struts2版本的伸缩性要比play好得多,而且延迟更低。为什么会这样?这是否意味着更好地坚持使用struts2?webapp(我是从本地主机测试的,两个应用程序都有相同的代码,除了模板语言,struts2在tomcat7上