项目中的java文件没有在WEB-INF\classes中生成class文件,HTTP状态500
1.首先确定project->Build Automatically是否勾选上:
2.然后,再进行测试,能不能进行编译,如果还是不能,则进行手动编译: project->clean
3.进入clean对话框,选择Clean projects selected below,然后选择OK
4.再次进行测试,如果还是不能编译,那就是项目设置出了问题。项目右键->properties->Java Build Path->Source
将Default output folder设置为Test/WebContent/WEB-INF/classes,点击OK。
以上