Unresolved compilation problem
来源:互联网 发布:淘宝自动刷手机版本 编辑:程序博客网 时间:2024/06/01 22:00
今天使用MyEclipse做Java web的项目,出现了未解析的编译错误。错误如下
Servlet.service() for servlet [jsp] in context with path [/CityInfor1.2] threw exception [An exception occurred processing JSP page /GetBuildingInfor.jsp at line 46
43: {
44: String longtitude = request.getParameter("longtitude");
45: String latitude = request.getParameter("latitude");
46: List<Building> buildings = AddBuilding.GetBuildingsByLL(longtitude, latitude);
47: if (0 != buildings.size())
48: {
49: //out.println("has building");
Stacktrace:] with root cause
java.lang.Error: Unresolved compilation problem:
找了半天,不知道是什么问题。类都是在,List也是引用了java.util里面的List。声明的是这个list,返回的也是这个list。后来才发现在AddBuilding这个类里面,有一个import出现了问题,因为之前改了一些东西,import里面没有自动更改。虽然这个错误与list无关,但是这样就导致整个类文件出问题,最终就会出现编译错误。
- Unresolved compilation problem
- Unresolved compilation problem:
- java.lang.Error: Unresolved compilation problem.
- java.lang.Error: Unresolved compilation problem:
- java.lang.Error: Unresolved compilation problem解决方案
- Exception in thread main java.lang.Error Unresolved compilation problem
- Exception in thread "main" java.lang.Error: Unresolved compilation problem
- 静态变量错误 java.lang.Error: Unresolved compilation problem:
- android运行时发现异常 Unresolved compilation problem
- Exception in thread "main" java.lang.Error: Unresolved compilation problem:
- Exception in thread "main" java.lang.Error: Unresolved compilation problem:
- Exception in thread main java.lang.Error Unresolved compilation problem
- Exception in thread "main" java.lang.Error: Unresolved compilation problem
- Exception in thread "main" java.lang.Error: Unresolved compilation problem:
- Unresolved compilation problems:
- java.lang.Error: Unresolved compilation problem: The import org.junit cannot be resolved
- Maven项目报jspException unresolved compilation problem : the import cannot be resolved
- java.lang.Error: Unresolved compilation problem: Cannot make a static reference to the non-static
- HTTP 1.1与HTTP 1.0的比较
- 一道题_20121218
- glShadeModel函数 GL_SMOOTH与GL_FLAT的区别
- Jfreechart的样例copy(转)
- JVM内存参数详解以及配置调优(一)-基本概念
- Unresolved compilation problem
- css解决浏览器兼容性问题
- 【数据结构与算法】图的遍历
- JVM内存参数详解以及配置调优(二)-Heap参数
- Size Balanced Tree(SBT)
- 01背包问题 很裸的动态规划
- 最新单片机虚拟仿真平台构建 proteus7.9+keil Uvision4+MDK414
- 既有微信,还需要陌陌吗?
- 【Cocos2d-x游戏引擎开发笔记(14)】Tiled Map Editor(二)