![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
问题解决
文章平均质量分 54
文菲
这个作者很懒,什么都没留下…
展开
-
java.lang.IllegalStateException
java.lang.IllegalStateException: No data type for node: org.hibernate.hql.ast.tree.IdentNode \-[IDENT] IdentNode: 'routerNumber' {originalText=routerNumber} at org.hibernate.hql.ast.tree.Se原创 2012-07-12 16:03:10 · 1139 阅读 · 0 评论 -
Eclipse+Maven环境下java.lang.OutOfMemoryError: PermGen space及其解决方法
项目运行期间后台日志java.lang.OutOfMemoryError: PermGen spacePermGen space的全称是Permanent Generation space,是指内存的永久保存区域.内存中的这个区域是用来存放class和meta信息的,Class在被jvm load的时候,class信息会被放入该区域.它不同于存放实例的Heap区域,GC不会在主程序转载 2017-05-09 14:15:16 · 2224 阅读 · 0 评论 -
Could not write JSON: Infinite recursion (StackOverflowError) (through reference chain:
环境:springmvc+hibernate返回json格式的数据在controller返回数据到统一json转换的时候,出现了json infinite recursion stackoverflowerror的错误,即json在将对象转换为json格式的数据的时候,出现了无限递归调用的情况。具体的情况如下:HmAppProductMgEntity类中,有个属性:转载 2016-07-20 18:10:04 · 9775 阅读 · 2 评论 -
java.lang.Error: Unresolved compilation problems:
java.lang.Error: Unresolved compilation problems: The type javax.servlet.http.HttpServletResponse cannot be resolved. It is indirectly referenced from required .class files The type javax.servlet转载 2013-07-11 17:05:57 · 5190 阅读 · 1 评论 -
a different object with the same identifier value was already associated with the session
问题:org.springframework.orm.hibernate3.HibernateSystemException: a different object with the same identifier value was already associated with the session: [com.sech.zengzhi.bean.Config#defaultPromot原创 2013-02-25 10:56:59 · 1173 阅读 · 0 评论 -
Spring 依赖注入(hint: specify index and/or type arguments for simple parameters to avoid type ambiguiti)
class="com.sech.zengzhi.service.config.FeeCodeSogouConfig"> 错误信息:16:37:18,109 ERROR ContextLoader:205 - Context initialization failedorg.springframework.be原创 2013-01-14 16:39:06 · 10824 阅读 · 1 评论 -
org.hibernat e.DuplicateMappingException
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init met原创 2012-11-05 11:16:45 · 1168 阅读 · 0 评论 -
上传文件 时FileNotFoundException:java.io.FileNotFoundException
FileNotFoundException:java.io.FileNotFoundException: D:\Program Files\Apache Software Foundation\apache-tomcatZengZhi\work\Catalina\union.51cy.org\_\upload_4bbd181d_139574c1170__8000_00000026.tmp (系统找原创 2012-08-24 15:49:33 · 1098 阅读 · 0 评论 -
IllegalArgumentException occurred while calling setter of
org.springframework.orm.hibernate3.HibernateSystemException: IllegalArgumentException occurred while calling setter of com.sech.zengzhi.bean.Advertising.advSize;上网查询原来是com.sech.zengzhi.bean包中的Adve原创 2012-07-12 16:06:20 · 1549 阅读 · 0 评论 -
Context [] startup failed due to previous errors
重启服务器就一连串的报下面的错误2012-6-8 9:27:07 org.apache.catalina.core.StandardContext startInternal严重: Error filterStart2012-6-8 9:27:07 org.apache.catalina.core.StandardContext startInternal严重: Context [原创 2012-07-12 16:05:22 · 871 阅读 · 0 评论 -
关于ArrayList使用时常遇到的问题以及解决方法
事例1:ArrayList在迭代的时候不能去改变自身的元素集合,否则会抛异常:java.util.ConcurrentModificationExceptionJava代码 List list = new ArrayList(); list.add(new Random().nextInt(10)); list.add(new Ra转载 2012-07-12 16:04:30 · 923 阅读 · 0 评论 -
Unable to locate the Javac Compiler in: [ERROR] C:\Program Files\Java\jre7\..\lib\tools.jar
从svn上导入一个项目后一直启动不起来,报如下错误上网查了资料,发现原因是安装了JDK之后,有两个jre一个在C:\Program Files\Java\jre7下,一个在C:\Program Files\Java\jdk1.7.0_67\jre, 而默认eclipse如果不做改变,会使用前者查看并设置eclipse中Window-----Preferences原创 2017-05-10 10:46:57 · 1069 阅读 · 0 评论