
- - - - - -【java异常】
newlifely
爱生活,爱java
展开
-
MyEclipse如何自定义添加tomcat server library
1. 打开myeclipse进入主界面,点击上方菜单栏处【windows】,在弹出的菜单栏点击【preferences】2. 进入设置界面,点击打开【MyEclipse】,在子菜单中点击打开【servers】3. 在服务器列表中可以看到tomcat,点击打开,选择对应的tomcat版本4. 进入转载 2017-03-30 15:10:32 · 1286 阅读 · 0 评论 -
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
INF/jsp/management/news line 1JSP Problem在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Path转自:http://blog.youkuaiyun.com/testcs_dn/article/details/36455669转载 2017-03-30 15:33:47 · 980 阅读 · 0 评论 -
java.lang.NoClassDefFoundError: org.bouncycastle.jce.provider.Bounc.CastleProvider解决方法
上传文件到服务器,文件一直处于上传的状态。看了一下日志报了一个异常java.lang.NoClassDefFoundError: org.bouncycastle.jce.provider.Bounc.CastleProvider然后找到了解决办法http://www.cnblogs.com/yangy608/archive/2012/08/08/2627858.html转载 2017-05-06 09:33:58 · 5604 阅读 · 0 评论 -
Spring报错java.lang.IllegalStateException: BeanFactory not initialized or already closed -call 'refres
今天出了这个异常,看到别人的解决办法:错误的写法是:ApplicationContext ctx = new ClassPathXmlApplicationContext();应修改为ApplicationContext ctx = new ClassPathXmlApplicationContext(“beans.xml”);其中beans.xml是spring bean的配原创 2017-05-17 14:03:03 · 1521 阅读 · 0 评论 -
mysql insert异常,springmvc 请求异常 404
一、MySQL server version for the right syntax to use near ')' at line 14检查sql语句*.xml 文件中插入数据 应该是 #{name} 写成了 ${name} 二、404 找不到映射,首先是检查@requestMapping 这次的问题是代码没有编译进入webapps 下查看 classes原创 2017-06-30 17:31:35 · 324 阅读 · 0 评论 -
maven 启动tomcat 报错Failed to start component [StandardEngine[Tomcat].StandardHost
是web.xml出了 问题原创 2017-07-12 17:37:42 · 1208 阅读 · 0 评论 -
maven 启动 报错could not resolve bean fefint resource pattern[classpath:spring/application-*.xml]
classes文件下没有resouces文件修改 pom.xml 文件 resources> resource> directory>src/main/javadirectory> includes>原创 2017-07-12 17:40:53 · 2409 阅读 · 2 评论