Sunday, April 22, 2012

ImportError: no module named hyperic

I have added all the good classes to CLASSPATH (using full paths),
I run weblogic.WLST and I do

import org.hyperic.hq.hqapi1.HQApi

this gives me ImportError: no module named hyperic

Here it reminds you that there is a

C:\Oracle\Middleware\wlserver_10.3\common\wlst directory

but this is a place only for Python modules...

Well the reality is that, if you set the classpath right (make sure you use full path names), you should not need to make any extra step to use a Java class...

No comments: