错误
皮豆wang
这个作者很懒,什么都没留下…
展开
-
There are no resources that can be added or removed from the server. .
eclipse导入一个存在的项目,不能加载到tomcat里面,出现“There are no resources that can be added or removed from the server.” 因为要导入的项目是从svn检出的,会当成java Project 解决方法: 第1步、新建一个“Dynamic Web Project” 第2步、把新建项目里原创 2017-05-08 11:14:25 · 461 阅读 · 0 评论 -
com.genuitec.runtime.generic.jee70 is not defined
1 类路径问题 从MyEclipse导入到Eclipse最容易引发的问题就是类路径问题。因为MyEclipse的基本上集成了所有的类库,类似于我们在Eclipse下自己建立的类库,所有的导入相关的类库都是一些引用,所以将项目从MyEclipse导入Eclipse中首先要做的一件事是 【项目】->【右键】->【build path】->【configure build path】->【l转载 2017-05-08 10:37:03 · 737 阅读 · 0 评论 -
java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '0' for key 'PRIMARY'java.sql.SQL
特别low的一个问题,批量插入,报这个错,插入一条没问题,插入2条以上有问题解决方案:1 在实体中设置id属性:@GeneratedValue(strategy = GenerationType.IDENTITY)2 检查要插入的表id字段是否设置了自增,我忘记了,所以报这个错ALTER TABLE table_name MODIFY column_na...翻译 2019-07-26 18:44:17 · 9694 阅读 · 0 评论