Can not build a docker container from a commit image for openfire server

After Committing the openfire container into an image and use this image to build new container, this container not started and gave this Exception

Starting openfire…
Exception in thread “main” java.lang.NoClassDefFoundError: org/jivesoftware/util/Log
at org.jivesoftware.openfire.starter.ServerStarter.start(
at org.jivesoftware.openfire.starter.ServerStarter.main(
Caused by: java.lang.ClassNotFoundException: org.jivesoftware.util.Log
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(