异常集合
码农小飞
这个作者很懒,什么都没留下…
展开
-
org.apache.jasper.JasperException: The Struts dispatcher cannot be found的解决方法
利用Struts2进行开发,当访问某个jsp页面时我们可能会遇到:org.apache.jasper.JasperException: The Struts dispatcher cannot be found,具体的异常如下:he Struts dispatcher cannot be found. This is usually caused by using Struts tags w原创 2012-02-17 19:31:26 · 15340 阅读 · 0 评论 -
struts2 Unable to load file
异常如下:严重: Exception starting filter struts2Unable to load configuration. - include - file:/D:/Program%20Files/apache-tomcat-6.0.10/webapps/CS2007CS1/WEB-INF/classes/struts.xml:5:44 at org.apache.stru原创 2012-03-13 14:42:23 · 5872 阅读 · 3 评论 -
Struts2 URL传递中文参数乱码问题
问题:在使用URL传递中文参数时出现乱码问题,代码如下: " > 其中传递的参数path的值是从后台数据库中获取的 ,当在action中设置一属性path接收参数值时,若为中文出现乱码。解决办法:可以通过以下代码解决乱码问题:newname=new String(getPath().getBytes("iso-8859-1"),"UTF-8");//解决URL传递过来原创 2012-03-19 20:18:46 · 3658 阅读 · 2 评论 -
Failed to create Java Virtual Machine
Failed to create Java Virtual Machine一、修改 修改eclipse.ini文件 中的:--launcher.XXMaxPermSize 256M -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m 将256换成128即可!修改转载 2012-07-17 16:44:30 · 555 阅读 · 0 评论 -
git重新设置ssh key后出现的认证问题解决方法
在更换用户名,用户邮箱信息后,再次生成key,并添加到gerrit的settings中,还会出现未授权的情况,解决方法是生成key后执行以下命令即可解决问题ssh-add ~/.ssh/id_rsa原创 2015-12-09 19:07:57 · 6775 阅读 · 0 评论