最近刚开始用Eclipse开发,刚开始都是按教程一步一步的新建web工程也没出现什么问题. 今天选了一个新的workspace,建了个web工程发现最简单的jsp页面都报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 百度了下找到原因了,现在总结下,虽然是个简单的问题,但新手肯定会遇到过的. 报错原因是:web工程缺少编译Tomcat运行时相关类,只要加上就行了…
HTTP Status 500 – Internal Server Error Type Exception Report Message Request processing failed; nested exception is org.apache.ibatis.exceptions.PersistenceException: Description The server encountered an unexpected condition that prevented it from…
1. 什么是 Spring 框架? Spring 是一种轻量级开发框架,旨在提高开发人员的开发效率以及系统的可维护性.Spring 官网:https://spring.io/. 我们一般说 Spring 框架指的都是 Spring Framework,它是很多模块的集合,使用这些模块可以很方便地协助我们进行开发.这些模块是:核心容器.数据访问/集成,.Web.AOP(面向切面编程).工具.消息和测试模块.比如:Core Container 中的 Core 组件是Spring 所有组件的核心,Be…