Exception in thread "CommandLine" java.lang.IllegalStateException: ManagerFactory