项目出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
1. The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
①项目右击-->build path -->添加libraries-->server runtime-->ok

②下图

2. JDBC连接Oracle:ORA-28009:connection as SYS should be as SYSDBA OR SYSOPER
解决方案:用户名设置为user = "sys as sysdba",其他不变
3. 表和视图不存在!

我的原因是:就比如sys用户,如果是不时用sysdba的身份登陆,就会出现这种情况,如果使用dba的身份登陆就对了
4. Failed to execute goal org.codehaus.cargo:cargo-maven2-plugin:1.2.3:run (cargo-run) on project yycg: Execution cargo-run of goal org.codehaus.cargo:cargo-maven2-plugin:1.2.3:run failed: [e:/apache-tomcat-7.0.52] is not a directory. It must point to the container home directory. -> [Help 1]
如图:

关键位置:run failed: [e:/apache-tomcat-7.0.52] is not a directory,
解决方案:tomcat配置错误,在pom.xml中修改插件配置中tomcat的路径
5. Could not write file: D:\JAVA_TOOLS\work-space\mars\sysconfig\.classpath.
build path时,出现,jre system library (unbound)
解决方案:修改 D:\JAVA_TOOLS\work-space\mars\sysconfig\.classpath. 这个文件,改为不隐藏,
6.Exception in thread “main" java.lang.UnsupportedClassVersionError(Unsupported major. minor version 52.0(xxx))
这个错两种情况①:jdk版本太低 ②位数不对,32,64位,我出现这个错的原因是位数不对,我的是64位 改为32位就对了
7.java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
1433端口没有打开
8.java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]传入的表格格式数据流(TDS)远程过程调用(RPC)协议流不正确。参数 1 (""): 数据类型 0x38 未知。
驱动版本不对
9.No suitable driver found for jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=db_JXC;SelectMethod=Cursor
这里将jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=db_JXC;SelectMethod=Cursor 改为jdbc:sqlserver://localhost:1433;DatabaseName=db_JXC;SelectMethod=Cursor
也就是 将“microsoft” 去掉
项目出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法的更多相关文章
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
项目忽然出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Pat ...
- 项目忽然出现 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
0.环境: 新装win8.1系统,Tomcat配置无误. 1.错误: 项目中某一.jps页面忽然出现错误,鼠标点上去为:The superclass "javax.servlet.http. ...
- java eclipse maven The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方法
在eclipse 中使用maven 创建java web项目,启动服务器遇到提示:The superclass "javax.servlet.http.HttpServlet" w ...
- maven新建web项目提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
maven新建web项目提示The superclass "javax.servlet.http.HttpServlet" was not found on the Java Bu ...
- The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决办法
♦ 未在 Java构建路径中 找到父类 "javax.servlet.http.HttpServlet" ♦ 解决办法: 项目右击 → Build Path → 右侧 Add L ...
- 新建jsp文件,The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path错误解决方法
新建一个jsp文件后,有一个错误,The superclass "javax.servlet.http.HttpServlet" was not found on the Java ...
- HttpServletRequest cannot be resolved to a type The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
HttpServletRequest cannot be resolved to a type The superclass "javax.servlet.http.HttpServlet& ...
- jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path”解决方案
Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" ...
- Eclipse导入JavaWeb项目报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
JavaWeb项目中写的JSP页面需要Web容器解析处理成HTML才能展示到前端浏览器,解析JSP需要Web容器.JSP页面顶端出现“红色”的报错信息:The superclass "jav ...
随机推荐
- Linux串口设备树硬件、软件流控设置
/********************************************************************** * Linux串口设备树硬件.软件流控设置 * 说明: ...
- Ubuntu Core 网络配置
/********************************************************************************* * Ubuntu Core 网络配 ...
- 【leetcode】345. Reverse Vowels of a String
problem 345. Reverse Vowels of a String class Solution { public: string reverseVowels(string s) { , ...
- Linux sort命令详解
linux之sort用法 sort命令是帮我们依据不同的数据类型进行排序,其语法及常用参数格式: sort [-bcfMnrtk][源文件][-o 输出文件] 补充说明:sort可针对文本文件的内容, ...
- 利用scrapy下载图片保存到本地
1.先声明一下,起始位置已经是将所有的图片链接都能到pipelines.py中 2.创建一个类,继承于ImagesPipeline,因此也就需要导入ImagesPipeline from scrapy ...
- CodeForces - 441D: Valera and Swaps(置换群)
A permutation p of length n is a sequence of distinct integers p1, p2, ..., pn (1 ≤ pi ≤ n). A permu ...
- tomcat服务器安装方法
tomcat: 链接:https://pan.baidu.com/s/1pMEu0hP 密码:g0ah (tomcat7) jdk :链接:https://pan.baidu.com/s/1 ...
- python----函数与函数式编程
一. 函数与函数式编程 1. 面向对象编程 (类)class 2.面向过程编程 (过程) def 3.函数式编程 (函数) def (1) 函数的特点: 代码重用: ...
- Go Example--协程
package main import "fmt" func main() { //main gorouting中调用f函数 f("direct") //重新建 ...
- Java基础二(变量、运算符)
1.变量2.运算符 ###01变量概述 * A: 什么是变量? * a: 变量是一个内存中的小盒子(小容器),容器是什么?生活中也有很多容器,例如水杯是容器,用来装载水:你家里的大衣柜是容器,用来装载 ...