WordPress database error: [Table 'wordpress.wp_ip_tracking' doesn't exist]
SELECT COUNT(*) FROM wp_ip_tracking WHERE ip_address = '216.73.216.220'

Tomcat 8, hibernate 4 and Eclipse Mars (4.5.1) – Comrite blogs

On Debian 8

(1) download and install JDK 8 from oracle

(2) download and install Eclipse IDE for Jave EE

(3) apt-get install  tomcat8 tomcat8-admin tomcat8-examples tomcat8-user mysql-server

(4) git clone https://github.com/mingewang/HibernateDataSource

it seems only hibernate 3’s format are accepted.

(5) mvn install, it should generate .war file

(6) mysql to create db using info from

http://www.journaldev.com/2905/hibernate-tomcat-jndi-datasource-example-tutorial

(7) deploy the war file using tomcat8. it should work

 

Some tips: you may want to update eclipse project if you changed the pom.xml ( e.g dependence etc) by

Right click on the project –> Maven –> Update project.

log files: /var/log/tomcate/xxx.

 

reference

http://www.journaldev.com/2905/hibernate-tomcat-jndi-datasource-example-tutorial

https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html