Hi,
i am using spring, hibernate with portlets. i have PK -FK relationship in DB2 tables, the exadel tool generated the hbm and POJOs.
when i start the server,while reading .hbm.xml it is throwing following exception.
please help me to resolve this issue.
entry in pk table hbm file
___________________________________________________________________
<bag name="newsArticlesAccess" inverse="true" cascade="none">
<key foreign-key="SQL070326041452230" column="NEWS_ARTICLE_ID"/>
<one-to-many class="com.dcx.esp.news.bo.NewsArticlesAccess"/>
</bag>
_________________________________________________________________________________
D:\MyPortlets\news\WebContent;
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@2067319865 Local Classpath: Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@517852204 Local ClassPath: C:\Program Files\IBM\Rational\SDP\6.0\runtimes
..........
C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_v50\shared\app\lotusworkplacelib\saxpath.jar;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_v50\shared\app\lotusworkplacelib\log4j.jar; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ExtJarClassLoader@1945308205 Local ClassPath: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_base_v5\lib\app; Delegation Mode: PARENT_LAST
[4] com.ibm.ws.classloader.ProtectionClassLoader@74344c2b
[5] com.ibm.ws.bootstrap.ExtClassLoader@4d80cc21
[6] sun.misc.Launcher$AppClassLoader@4e734c21
[7] sun.misc.Launcher$ExtClassLoader@4e760c21
---Original exception---
java.lang.NoClassDefFoundError: org/odmg/DCollection
at java.lang.ClassLoader.defineClass0(Native Method)
.............
Delegation Mode: PARENT_FIRST
[1] com.ibm.ws.classloader.JarClassLoader@2067319865 Local Classpath: Delegation mode: PARENT_FIRST
[2] com.ibm.ws.classloader.ExtJarClassLoader@517852204 Local ClassPath: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_v50\shared\app;C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_v50\shared\app\activation.jar;C:\Program Files
..................
orkplacelib\log4j.jar; Delegation Mode: PARENT_LAST
[3] com.ibm.ws.classloader.ExtJarClassLoader@1945308205 Local ClassPath: C:\Program Files\IBM\Rational\SDP\6.0\runtimes\portal_base_v5\lib\app; Delegation Mode: PARENT_LAST
[4] com.ibm.ws.classloader.ProtectionClassLoader@74344c2b
[5] com.ibm.ws.bootstrap.ExtClassLoader@4d80cc21
[6] sun.misc.Launcher$AppClassLoader@4e734c21
[7] sun.misc.Launcher$ExtClassLoader@4e760c21
---Original exception---
java.lang.NoClassDefFoundError: org/odmg/DCollection
at java.lang.ClassLoader.defineClass0(Native Method)
...
at net.sf.hibernate.mapping.Collection.getType(Collection.java:275)
_________________ - Kumar SL Reddy
|