Error while executing WLST - AttributeError: java package 'weblogic.time' has no attribute 'strftime'
Java and python both have time modules. So when we tried to use strftime function in time, wlst picked up time module present in Java and not that one in python. This is due to name collision. To avoid this error, import time module with an alias name as below and prefix strftime call with alias name.
import time as pytime
Comments
Post a Comment