随笔分类 -  bugs【初级】

摘要:严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListenerat org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)at org.apache.catalina 阅读全文
posted @ 2014-03-23 12:50 Myna Wang 阅读(260) 评论(0) 推荐(0)
摘要:在eclipse启动tomcat时遇到超时45秒的问题:Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.网上解决办法。1.在 eclipse菜单-》window->preferencs里找到server 中最下面一项:server timeout delay 设置成 Unlimited 即可!但是eclipse 3.6, 阅读全文
posted @ 2013-12-06 10:15 Myna Wang 阅读(215) 评论(0) 推荐(0)
摘要:因为还没有告诉myeclipse去验证它。解决方法,选中js文件,右键Myeclipse--ManaValidation--ExcludeResource--(选中全部或者那个js)--OK 阅读全文
posted @ 2013-10-23 10:34 Myna Wang 阅读(289) 评论(0) 推荐(0)
摘要:点击project->properties->java build path->source看到如上弹出框后点击add folder选择所要添加的文件夹总结: 做如下步骤是可以将某些分类的文件夹在启动服务器的时候直接编译到web-inf下的classes下 阅读全文
posted @ 2013-10-21 12:29 Myna Wang 阅读(467) 评论(0) 推荐(0)
摘要:严重: Exception loading sessions from persistent storage java.io.EOFException删除Tomcat里面的work/Catalina/localhost下的内容即可解决Tomcat在启动时出现如下异常问题:严重: IOException while loading persisted sessions: java.io.EOFException严重: Exception loading sessions from persistent storage是因为保存在硬盘上的session数据读取失败,问题似乎不大,但是如果不处理一下 阅读全文
posted @ 2013-09-24 10:08 Myna Wang 阅读(170) 评论(0) 推荐(0)
摘要:一、发现问题在eclipse中新建Dynamic Web Project,配置好本地的tomcat并写好代码后选择Run on Server,但运行后发现在tomcat的安装目录下的webapps并没有出现所建立的工程名字。二、验证很明显项目并没有自动部署到Tomcat的Webapps中而是部署在了别的容器中。在内置浏览器中输入 http://localhost:8080/webDemo/login.jsp可正常打开。但在外部浏览器上打开http: //localhost:8080时确没有出现所期望的小猫画面。三、原因eclipse不像MyEclipse默认将项目部署到tomcat安装目录下的 阅读全文
posted @ 2013-09-20 14:55 Myna Wang 阅读(394) 评论(0) 推荐(0)
摘要:今天将别人的项目导入eclipse之后,出现了“The import javax.servlet cannot be resolved”错误,出现这个错误的原因是:没有servlet-api.jar这个包,将这个包导入项目里面就可以了。那么这个包一般到那里去找 呢?我们可以到tomcat的lib目录下面找到这个包,然后在eclipse中,右击项目,选择Java Build Path>Libraries>Add External JARS,找到你计算机中的tomcat的安装路径,在common\lib文件夹下,选中"servlet-api.jar",添加点击“确定 阅读全文
posted @ 2013-09-17 20:41 Myna Wang 阅读(269) 评论(0) 推荐(0)

免费流量统计