早教吧 育儿知识 作业答案 考试题库 百科 知识分享

Classpathentryorg.eclipse.jdt.USERLIBRARY/hibernatelibwillnotbeexportedorpublished.RuntimeClassNotFoundExceptionsmayresult.

题目详情
Classpath entry org.eclipse.jdt.USER_LIBRARY/hibernate lib will not be exported or published.
Runtime ClassNotFoundExceptions may result.
▼优质解答
答案和解析
1、启用Maven Dependency后,提示上面的警告.
解决方法是:打开Problem视图,选中此警告,然后按Ctrl+1或者右击选择fix it,弹出修复对话框,选择 "Exclude the associated raw classpath entry.”
这个操作好像是添加了下面这个attribute到 .classpath:
2、还一种是我把字符集改成UTF-8后,这个提示就直接没了,不知道跟字符集是否有关
看了 Classpathentry...的网友还看了以下: