![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误笔记
文章平均质量分 61
说:/~不了
这个作者很懒,什么都没留下…
展开
-
java.lang.OutOfMemoryError: PermGen space解决办法
以下错误的原因是严重: Exception starting filter struts2java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.jav原创 2014-08-20 19:21:50 · 1873 阅读 · 1 评论 -
IOException while loading persisted sessions: java.io.EOFException异常的解决办
严重: IOException while loading persisted sessions: java.io.EOFExceptionjava.io.EOFExceptionat java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)at java.io.Obje转载 2014-12-30 15:13:37 · 549 阅读 · 0 评论 -
SpringMVC异常报406 (Not Acceptable)的解决办法
使用SpsringMVC,使用restEasy调试,controller请求设置如下: Java代码 @RequestMapping(value="/list",method=RequestMethod.GET,produces=MediaType.APPLICATION_JSON_VALUE) @ResponseBody public List li转载 2015-01-04 14:28:28 · 13329 阅读 · 0 评论 -
error at ::0 can't find referenced pointcut...解决方法
Java代码 Caused by: java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut addHander at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(PointcutP转载 2015-02-11 11:16:18 · 591 阅读 · 0 评论 -
java.net.ConnectException: Connection refused: connect(数据库连接拒接)
严重: Servlet.service() for servlet appServlet threw exceptionjava.net.ConnectException: Connection refused: connectat java.net.PlainSocketImpl.socketConnect(Native Method)at java.net.PlainSocketI原创 2015-01-07 09:33:28 · 5587 阅读 · 0 评论 -
org.hibernate.StaleStateException: Unexpected row count: 0 expected: 1
org.hibernate.StaleStateException: Unexpected row count: 0 expected: 12007-11-01 08:43org.hibernate.StaleStateException: Unexpected row count: 0 expected: 11).使用的是hibernate的saveOrUpdate方法保转载 2015-01-23 13:08:13 · 2965 阅读 · 0 评论 -
HTTP Status 404 -
HTTP Status 404 - type Status reportmessage description The requested resource is not available.出现这种错误的原因不是找不到页面,而是找不到请求的路径,地址。也就是说请求的地址不存在。原创 2015-03-15 23:08:19 · 2020 阅读 · 1 评论 -
Open quote is expected for attribute "namespace" associated with an element type "mapper".
Caused by: org.xml.sax.SAXParseException: Open quote is expected for attribute "namespace" associated with an element type "mapper".at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseEx原创 2015-03-03 14:33:07 · 2681 阅读 · 0 评论 -
The project was not built since its build path is incomplete.
今天下午导入struts_training_usermgr项目后,编译前出现如下两个错误: Severity and Description Path Resource Location Creation Time Id The project was not built since its build path is incomplete. Can转载 2015-03-10 09:00:43 · 30922 阅读 · 1 评论 -
使用maven构建项目,出现 project facet Dynamic Web Module to 3.0.
Description Resource Path Location Type Cannot change version of project facet Dynamic Web Module to 3.0. youyou yeah在项目中的时候经常都会遇见这样的问题,就是编译的版本和运行的jdk等以及动态web工程的版本不一致的问题,都会出现这样的错误,那么需原创 2015-09-22 10:25:06 · 3428 阅读 · 0 评论 -
java.net.UnknownHostException: XXX.XXX.com 未知主机错误
java.net.UnknownHostException: XXX.XXX.com at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Soc原创 2015-01-19 11:26:56 · 23042 阅读 · 0 评论 -
eclipse启动tomcat无法访问的解决方法
转载来自:http://www.jb51.net/article/42490.htm症状:tomcat在eclipse里面能正常启动,而在浏览器中访问http://localhost:8080/不能访问,且报404错误。同时其他项目页面也不能访问。关闭eclipse里面的tomcat,在tomcat安装目录下双击startup.bat手动启动tomcat服务器。访问htt:转载 2015-01-14 14:42:27 · 909 阅读 · 2 评论 -
eclipse启动tomcat访问不到主页
在eclipse中配置好tomcat后访问不到主页,而访问自己建的项目时则能访问到,问题原因何在?查阅了相关资料后得知 在eclipse中启动tomacat后,它去启动的web项目并不是tomcat文件夹下的webapp下web工程,而是eclipse中自己的一个文件夹下的web工程。双击tomcat服务器,打开tomcat的配置页面,如图所示:(注:此图的se转载 2015-01-14 14:43:29 · 1229 阅读 · 2 评论 -
com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1
com/opensymphony/xwork2/spring/SpringObjectFactory.java:209:-1 2013-04-16 20:53:18| 分类:Spring | 标签:exception struts2 |举报|字号大中小 订阅今天遇到了这个问题严重: Exception starting filter转载 2014-10-23 09:35:49 · 2999 阅读 · 1 评论 -
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitio
zhCaused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.NoUniqueBeanDefinitionException 2014-05-05 11:03:21| 分类: spring|举报|字号 订阅使用spring mvc 3.1+junit4.8转载 2014-11-11 11:49:24 · 11132 阅读 · 0 评论 -
Null value was assigned to a property of primitive type setter of"原因及解决方
在action请求数据的过程中报出"Null value was assigned to a property of primitive type setter of"错误,搜索之后发现是因为数据库里相应的字段为NULL。例如:Java代码 "printTime" type="long">"print_time"/> [java] view转载 2014-11-19 18:36:36 · 488 阅读 · 0 评论 -
faultCode=INVALID_WSDL: Expected element ‘{http://schemas.xmlsoap.org/wsdl/} WSDLExceptionfaultCode=
faultCode=INVALID_WSDL: Expected element ‘{http://schemas.xmlsoap.org/wsdl/} WSDLExceptionfaultCode=报错:Caused by: javax.wsdl.WSDLException: WSDLException (at /soap:Envelope):faultCode=IN转载 2014-11-04 16:36:08 · 12111 阅读 · 0 评论 -
org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryV
org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryV求助:Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.s各位专家看看这是什么问题啊?type Exception rep转载 2014-11-27 00:09:39 · 7209 阅读 · 2 评论 -
解决“Dynamic Web Module 3.0 requires Java 1.6 or newer.”错误
在项目的pom.xml的标签中加入: Xml代码 plugins> plugin> groupId>org.apache.maven.pluginsgroupId> artifactId>maven-compiler-pluginartifactId> version>2.3.2versi转载 2015-01-08 22:49:18 · 421 阅读 · 0 评论 -
maven exclusions【jar包依赖注意】和 org.xml.sax.SAXParseException: Document root element "beans", must match
Java代码 org.springframework spring-webmvc 2.5.6 org.springframework spring-beans转载 2015-01-09 09:34:59 · 3621 阅读 · 0 评论 -
Hibernate异常No row with the given identifier exists 解决方法
产生此问题的原因: 有两张表,table1和table2.产生此问题的原因就是table1里做了关联或者(特殊的多对一映射,实际就是一对一)来关联table2.当hibernate查找的时候,table2里的数据没有与table1相匹配的,这样就会报No row with the given identifier exists这个错.(一句话,就是数据的现在hi转载 2014-12-22 15:41:21 · 3642 阅读 · 0 评论 -
定义变量出现警告问题
如果定义一个变量:int failNum = 0;但是没有在往后引用这个变量就会出现警告:The value of the local variable failNum is not used原因很简单,就是你定义了这个变量,但是没有用到,在合适的地方引用警告就消息的了。注意:自增或者自减不算引用。原创 2015-01-13 10:55:09 · 1638 阅读 · 1 评论 -
Eclipse报错:java.lang.ClassNotFoundException: ContextLoaderListener
转载来自:http://chenzhou123520.iteye.com/blog/1836987Eclipse中tomcat部署工程启动后报错:Shell代码 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis转载 2016-10-19 08:36:56 · 7192 阅读 · 2 评论