The type java.lang.AutoCloseable cannot be resolved. It is indirectly referenced from required .clas
2017-08-22 10:46
393 查看
问题如下:
在进行hibernate开启事务的时候,编辑器有红线。
问题原因:
项目的jdk版本出现问题,
如果本机安装了多个jdk版本, 请重新检查此版本是否为项目需要的版本,或者把hibernate的jar包 换一下(我是这样做的);
问题解决:
在进行hibernate开启事务的时候,编辑器有红线。
问题原因:
项目的jdk版本出现问题,
如果本机安装了多个jdk版本, 请重新检查此版本是否为项目需要的版本,或者把hibernate的jar包 换一下(我是这样做的);
问题解决:
相关文章推荐
- The type java.lang.AutoCloseable cannot be resolved. It is indirectly referenced from required
- The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class files。
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class
- Eclipse error: The type java.lang.Object cannot be resolved. It is indirectly referenced from the required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class file
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required.class files
- The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files.
- Error!]the type java.lang.object cannot be resolved. it is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class file
- Eclipse导入工程出错The type java.lang.String cannot be resolved. It is indirectly referenced from required
- 出现error:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .cla
- 报错:The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .cl