This content has been marked as final.
Show 4 replies
-
1. Re: Class not found in HAR
artemis Jul 31, 2005 9:34 PM (in response to artemis)"artemis" wrote:
I have deployed .har based on the hibernate3 instructions (jboss 4.0.2, hibernate 3.0)
here is my directory structure in
har folder
....WEB-INF
.........classes
.............ssi.listener.bean
....................CWsmType.class
....................CWsmType.hbm.xml
....META-INF
........HibernateService.xml
18:05:53,656 INFO [HbmBinder] Mapping class: CWsmType -> WSM_TYPE
18:05:53,656 ERROR [Configuration] Could not compile the mapping document
org.hibernate.MappingException: class CWsmType not found while looking for property: oid
why doesn't application server find my class? Any ideas? Thanks. -
2. Re: Class not found in HAR
artemis Aug 1, 2005 11:22 AM (in response to artemis)There is the source of the problem if anyone is interested:
Class files along with ...hbm.xml files have to be JARed, insted of expanded within the .HAR file.
A similar bug has been known but this one must be new. -
3. Re: Class not found in HAR
renatov Sep 15, 2005 1:53 PM (in response to artemis)I have the same problem. Unfortunelly there is few docs to develop apps with HAR.
-
4. Re: Class not found in HAR
renatov Sep 15, 2005 2:08 PM (in response to artemis)... after the complaint ... your schemaexport didn´t find the compiled java classes to map the DDL. Identify the classpath in your Ant target.