求助,eclipse 下的tomcat出现 class cannot be resolved to a type

Java > Web 开发 [问题点数:40分,结帖人yanyangxu01]
等级
本版专家分:0
结帖率 100%
等级
本版专家分:15
等级
本版专家分:21716
勋章
Blank
优秀版主 2016年10月优秀小版主
Blank
红花 2016年10月 Java大版内专家分月排行榜第一
2016年9月 Java大版内专家分月排行榜第一
2016年8月 Java大版内专家分月排行榜第一
2014年4月 Java大版内专家分月排行榜第一
Blank
黄花 2016年11月 Java大版内专家分月排行榜第二
等级
本版专家分:0
残火桑

等级:

导入项目后出现Multiple annotations found at this line 的问题(jdk不一致)

报错信息是:Multiple annotations found at ...- java.io.IOException cannot be resolved to a type - String cannot be resolved to a type - java.io.IOException cannot be resolved to a type - String ...

Eclipse javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法

目前在jsp页面form action中使用${pageContext.request.contextPath }/servlet的写法,但是一直提示有错误,错误如下:javax.servlet.jsp.PageContext cannot be resolved to a type 网上解答过说要缺少jsp-api.jar...

The type java.util.Map$Entry cannot be resolved. 问题解决

今天使用Eclipse搭建SpringMVC环境的时候,遇到一个Error:An error occurred at line: 1 in the ...The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class filesStac

The type javax.http.HttpServletRequest cannot be resolved.It is indirectly……问题之解决

原因:项目中缺少servlet-api.jar文件。 解决办法:将D:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib的servlet-api.jar拷贝到项目中,然后编译即可。

class cannot be resolved to a type 或者JSP import class cannot be resolved to

转http://wzping.javaeye.com/blog/588097错误调试解析:class cannot be resolved to a type 或者JSP import class cannot be resolved to a type import XXX.XXX cannot be resolved to a type , import XXX.XXX ...

Myeclipse调错:The type java.util.Map$Entry cannot be resolved.

Myeclipse调错:The typejava.util.Map$Entry cannot be resolved.     前言:  昨天项目还是好好的,今天一开机运行项目时就蹦出个:    Thetype java.util.Map$Entry cannot be resolved. It is indirectly ...

Eclipse jsp页面javax.servlet.jsp.PageContext cannot be resolved to a type 错误解决办法

我的项目使用maven构建,服务器使用的是tomcat插件,结果jsp报错javax.servlet.jsp.PageContext cannot be resolved to a type ,不影响使用,但是看着难受,最终解决了,网上说要新增lib外部引用jsp-api.jar,我...

The import java.util cannot be resolved

原文 ...The import java.util cannot be resolved 原因:这是由于你的项目buildpath不对 解决方案:右键项目-------buildpath--------最下面那个configuration 的选择libraries找到JRE(这

The type java.lang.Object cannot be resolved.It is indirectly referenced问题

而且之前都是用的myeclipse,现在环境换成了eclipse,先导入了一个工程试运行一下,却出现了The type java.lang.Object cannot be resolved.It is indirectly referenced的问题,上网看了别人的做法,有一个方法...

The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from

eclipse中导入一个svn里面的工程,报错:The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files。去网上查找,有些网友说是Tomcat的一个...

关于出现The type java.io.ObjectInputStream cannot be resolved.的问题解决

在使用MyEclipse导入新的java文件时,出现The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .class files的错误提示,如图所示: 出现这个问题的原因是...

eclipse中the import java cannot be resolved..等问题

1、导入的工程JSP文件出现报错的情况 这个一般不怎么影响文件的执行,这些文件飘红主要是因为eclipse的校验问题。 具体错误信息: Multiple annotations found at this line  处理方法: 在eclipse中设置...

项目错误提示Multiple markers at this line

新安装个Myeclipse,导入以前做的程序后程序里好多错,第一行提示: Multiple markers at this ... - The type java.lang.Object cannot be resolved. It is indirectly referenced from   required .class files

javax.servlet包报错和javax.servlet.jsp.JspException

以前用myeclipse 最近用eclipse myeclipse项目正常 eclipse不正常  (1)javax.servlet包报错 ...javax.servlet.jsp.PageContext cannot be resolved to a type javax.servlet.jsp.JspException cannot be

Eclipse出现The type javax.servlet.http.HttpServletRequest cannot be resolved问题

The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from required .class files 问题原因:项目中缺少jar包:servlet-api.jar 解决方法有两种 解决办法: 方法...

The type java.util.Map$Entry cannot be resolved问题的解决

博主:niaonao文章:The type java.util.Map$Entry cannot be resolved问题的解决 博文地址:https://blog.csdn.net/niaonao/article/details/76159172   开门见山(这是一首歌) 一、异常信息 我这里遇到的...

The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced fro

 The type javax.servlet.http.HttpServletRequest cannot be resolved. It is  indirectly referenced from required .class files 解决办法是:将tomcat的运行环境添加到项目中。 在项目上右键--b

SSH之JDK1.8遇错The type java.util.Map$Entry cannot be resolved.

The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required ....

项目JDK版本与Tomcat对应版本不一致引发的问题

严重: ContainerBase.addChild: ...org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/pppp]] at org.apache.catalina....

Class<SpringJUnit4ClassRunner> cannot be resolved to a type

eclipse 项目右键properties,搜索Deployment Assembly确定是否moven包引入(可能你build path已经y引入,但这个引入是部署到tomcat的,还是确定一下)。MY GOD ,还是不行!左看右看上看看,没什么错了啊?手写,...

The project was not built since its build path is incomplete. Cannot find the class file for java.la

错误提示:The project was not built since its build path is ... Cannot find the class file for java.lang.Object. Fix the build path then try building this project  The type java.lang.Object cannot

解决使用Spring Boot、Multipartfile上传文件路径错误问题

彻底跟路径错误say拜拜! 题图:from Google 1.问题描述 ...关键字: SpringMVC 4.2.4 、 Spring Boot 1.3.1 、Servlet 3.0 、文件上传报错信息: java.io.IOException: ... /tmp/tomcat.273391201583741210.8080/

eclipse jdk设置 org.apache.jasper.JasperException: Unable to load class for JSP

或者不是指定的jdk启动,或者报如下错误,则需要检查下面的配置常见报错包括:The specified JRE installation does not existThe type java.io.ObjectInputStream cannot be resolved. It is indirectly ...

Eclipse导入新工程错误-The project was not built since its build path is incomplete.

Eclipse导入新工程错误如下: --Description Resource Path Location Type:The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet....

项目实战抛异常:The type javax.servlet.ServletException cannot be resolved.It is indirectly ...

Eclipse实战抛异常:The type javax.servlet.ServletException cannot be resolved. It is indirectly referenced from required .class files 解决办法:右击项目Java Build Path -> Add Liberary ->Server ...

eclipse导入项目后缺少常用jar包的处理

eclipse缺少包

eclipse 导入Web工程步骤

首先import 本地的工程 之后需要重新引入Referenced Libraries 右键工程, 选择配置 ...自行加入jasper.jar jsp-api.jar servlet-api.jar(导不进来) ...The type javax.servlet.http.HttpServletRequest cannot be

Tomcat配置JNDI提示:org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class '...

Tomcat配置JNDI使用后报 org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot load JDBC driver class 'oracle.jdbc.OracleDriver'异常 此时只需要将ojdbc5.jar包放到tomcat的lib目录就OK了。

解决JSP中,类无法被编译的问题(XX cannot be resolved to a type

XX cannot be resolved to a type   解决方法: 一、 检查是否导入相应的包,在页面开头引入相应的包   二、 因为某些特殊原因,MyEclipse没能自动编译源代码到build/classes(或其他c

C#入门必看实力程序100个

C#入门必看含有100个例字,每个例子都是针对C#的学习关键知识点设计的,是学习C#必须知道的一些程序例子,分享给大家,需要的可以下载

相关热词 c#中post获取页面 c# 写一个文本编辑器 c# 相对路径./ c#变量查询数据库语句 c#winfrom打印 c#显示数据库信息 c# 多线程工具类 c# 判断字符串相等 c#线程池类 c#如何遍历容器