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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]