Unable to load class [ org.zh.domain] declared in Hibernate configuration <mapping/> entry,异常解决方案
2017-04-13 18:13
447 查看
1.检查jdk环境(很有可能出现的问题)
2.在配置文件用ctrl+鼠标左键是否能到达指定类(判断路劲是否正确)
3.jar包版本(很少出现这种问题)
4.看是否生成了class文件(很重要,有可能环境造成没有class文件生成,导致启动服务器抛出找不到类的异常)
2.在配置文件用ctrl+鼠标左键是否能到达指定类(判断路劲是否正确)
3.jar包版本(很少出现这种问题)
4.看是否生成了class文件(很重要,有可能环境造成没有class文件生成,导致启动服务器抛出找不到类的异常)
相关文章推荐
- spring 4.3.3和hibernate 5.2.3整合 关于报“unable to load class org.hibernate.cfg.Configuration”异常
- org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping class="Bbs"/>
- org.hibernate.MappingException: An AnnotationConfiguration instance is required to use <mapping clas
- android ;linux ;Plug-in org.eclipse.ajdt.ui was unable to load class
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.j
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.
- 一个异常:Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class com.rssReader.st
- Plug-in org.eclipse.jdt.ui was unable to load class
- org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.jdt.ui was unable to load class org.ecli
- ERROR: In <declare-styleable> MenuView, unable to find attribute android:preserveIconSpacing异常解决
- org.apache.jasper.JasperException: Unable to compile class for JSP;Tomcat部署JspFactory报异常的解决方案
- 严重: Dispatcher initialization failed Unable to load configuration异常解决方案
- Plug-in org.eclipse.jdt.ui was unable to load class
- org.apache.jasper.JasperException: Unable to compile class for JSP;Tomcat部署JspFactory报异常的解决方案
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class
- java.lang.UnsupportedClassVersionError: Bad version number in .class file (unable to load class org.
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.jdt.internal.ui.packageview.P
- Plug-in org.eclipse.wst.jsdt.ui was unable to load class org.eclipse.wst.jsdt.internal.ui.javaeditor
- Eclipse:Could not create the view: Plug-in org.eclipse.jdt.ui was unable to load class org.eclipse.j
- Plug-in org.eclipse.jdt.ui was unable to load class