[operation environment]
jdk1.8+eclipse+apache tomcat v7.0
[phenomenon]
Code running error org.apache.catelina . core.StandardContext listenerStart
Error creating bean with name ‘sqlSessionFactory’ defined in URL [file:/E:/apache-tomcat-7.0.63-windows-x64
Tomcat error
Reason: no Tomcat jar package added
Select the project, right-click, select build path — & gt; add Libraries… — & gt; select server runtime — & gt; next — & gt; select Apache Tomcat v7.0 — & gt; OK.