展示: 右击项目----build path -----Configure Build Path 进入到窗口 libraries -------add libraries ------  server runtime 进入下图窗口    选择tomcat    finish 如果 在add library 没有tomcat 请按以下步骤操作: window -----Preferences  ---- Runtimes Environments ----加入 tomcat 即可…
今天发现了一个折磨我一天的问题: 在jsp文件中使用 <c:forEach items="${checkResult}" var="item"> </c:forEach> 一直报错: [ERROR] 2013-12-09 15:03:20,740 method:org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:253) Servlet.…
maven项目引用时,导入类报错,选择两个项目同时执行Maven update springboot引入第三方jar,需要扫描时加@ComponentScan("第三方的包名") 尽量不要在第三方jar中使用@注解…
构建了一个maven项目但是项目创建好的jsp总会报错javax.servlet.jsp.PageContext cannot be resolved to a type,但是不影响项目运行.但总归难看现在将解决方法写下.…
         项目报错可以看到Problems(可以在Window--Show View--other--输入Problems找到) 一.可能原因     1.项目中各文件没有报错,但是项目名称中有红叉,可能是动态项目版本的原因,创建的maven项目默认是2.3版本的,web.xml中的文件头声明不能随意修改(有一次想修改为3.0版本的,就将web.xml的声明3.0版本的,发现报错)    2.所有的报错和警告和其他出现的问题都可以在Problems一栏查看到(这里显示的是整个工作空间的全…
引入项目过程中,idea引入磁盘的某个的maven项目 这里以springboot项目以例子,发现pom.xml 的依赖大面积爆红,springboot的版本依赖也报错了,然后发现下面有进度条在下载,下载了非常久还没有下载成功 对于springboot项目版本依赖报错, 解决方式1:更换一个spirngboot版本: 解决方式2:等待继续下载该版本的spirngboot依赖(尤其是第一次使用该版本的springboot依赖会下载比较久): 建议:平时建立springboot项目,springbo…
Multiple annotations found at this line: - javax.servlet.jsp.PageContext cannot be resolved to a type - javax.servlet.jsp.JspException cannot be resolved to a type 解决办法:往项目里导入Tomcat安装目录下 lib文件夹的两个包:jsp-api.jar 和 servlet-api.jar…
原因是因为项目里面没有配置tomcat,配置一下tomcat就好了…
解决:由于redis集群的采用的版本是2.7的,在maven的pom.xml中将jedis的版本改成2.9的就可以了…
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [redis.clients.jedis.JedisCluster]: Constructor threw exception; nested exception is java.lang.NumberFormatException: For input string: "7006@17006" at org.sp…