cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjoseph...@yahoo.com>
Subject ojb/jdo example - how do I enhance the file
Date Tue, 07 Sep 2004 11:23:50 GMT
Hi,

I am trying to enhance the auth_user.class file (after
compiling it from the .java into the .class)

I kept both the .java file and the .class file in the
same directory and ran the following command:

$ java -cp ".;c:\db-ojb-1.0.0\lib;c:\db-ojb-1.0.0\jdo"
com.sun.jdori.enhancer.Main -v -f auth_user.class
auth_user.jdo


What am I doing wrong - the response (error) I get is
as follows:

Enhancer: options:
    verbose = true
    quiet = false
    forceWrite = true
    noWrite = false
    sourcePath = null
    destinationDirectory = null
    propertiesFileName = null
    doTiming = false
    classNames = {
    }
    jdoFileNames = {
        auth_user.jdo
    }
    classFileNames = {
        auth_user.class
    }
    zipFileNames = {
    }
    dumpClass = false
    noAugment = false
    noAnnotate = false
JDO ENHANCER: using file:
file:/C:/Downloads/demoOJB/auth_user.class
Class Locator: using class files: {
    auth_user.class
}
JDO ENHANCER: using file:
file:/C:/Downloads/demoOJB/auth_user.jdo
java.lang.NoClassDefFoundError:
javax/jdo/JDOFatalInternalException
	at
com.sun.jdori.common.model.jdo.JDOModelImpl.<clinit>(Unknown
Source)
	at
com.sun.jdori.common.model.jdo.JDOModelFactoryImpl.createJDOModel(Unknown
Source)
	at
com.sun.jdori.enhancer.meta.model.EnhancerMetaDataJDOModelImpl.<init>(Unknown
Source)
	at
com.sun.jdori.enhancer.Main.initEnhancerMetaData(Unknown
Source)
	at com.sun.jdori.enhancer.Main.createEnhancer(Unknown
Source)
	at com.sun.jdori.enhancer.Main.process(Unknown
Source)
	at com.sun.jdori.enhancer.Main.main(Unknown Source)
Exception in thread "main" 

thx
Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message