各位前辈,我初学JAVA的
我根据一位热心群友的建议,将stuts.xml的namespace="/qiantai",改为namespace="/";
今天遇到这么个情况:window端myeclipse做的一个工程,用的是jdk7+tomcat8.
500HTTP Status 500 – Internal Server Error
Type Exception Report
Description The server encountered an unexpected condition that prevented it from fulfilling the request.
Exception
java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
........
Root Cause
java.lang.NoSuchMethodError: org.hibernate.SessionFactory.openSession()Lorg/hibernate/classic/Session;
...............
Note The full stack trace of the root cause is available in the server logs.
初入门,各位前辈帮忙一下!
我试过用用jdk7+tomcat7.jdk7+tomcat8.jdk8+tomcat8.
都是此版本的项目都是一样不行;但是我用此版本重做个源代码基本相同的项目,居然是正常的!
帮下新手,请问如何在更高级的SSH框架下,不出现“HTTP Status 500 – Internal Server Error”错误呢?