Tests are failing in openmrs-core

Hi, Im trying to setup openmrs-core as mentioned in here

But below tests are failing in openmrs-api for some reason. Has anyone experienced the same issue ?

Failed tests: ModuleFactoryTest.loadModules_shouldNotStartTheLoadedModules:165 expected:<3> but was:<0> ModuleFactoryTest.loadModules_shouldSetupRequirementMappingsForEveryModule:147 expected:<3> but was:<0> Tests in error: ModuleExtensionsTest.getExtensions_shouldNotFailExpandingAnExtensionNameCausingANoClassDefinitionFoundError:96 » Module ModuleFactoryTest.loadModule_shouldAlwaysLoadModuleIfReplacementIsWanted:76->loadModule:179 » Module ModuleFactoryTest.loadModule_shouldLoadANewerVersionOfTheSameModule:89->loadModule:179 » Module ModuleFactoryTest.loadModule_shouldLoadModuleIfItIsCurrentlyNotLoaded:53->loadModule:179 » Module ModuleFactoryTest.loadModule_shouldNotLoadAnOlderVersionOfTheSameModule:101->loadModule:179 » Module ModuleFactoryTest.startModule_shouldStartAllDependencies:115->loadModule:179 » Module ModuleFileParserTest.moduleFileParser_shouldFailCreatingParserFromFileIfInputStreamClosed:92 » FileNotFound ModuleFileParserTest.parse_shouldParseValidLogicModuleFromFile:150 » Module Un… ModuleFileParserTest.parse_shouldParseValidXmlConfigCreatedFromInputStream:105 » FileNotFound ModuleUtilTest.expandJar_shouldExpandDirectoryWithParentTreeIfNameIsDirectoryAndKeepFullPathIsTrue:631 » FileNotFound ModuleUtilTest.expandJar_shouldExpandDirectoryWithoutParentTreeIfNameIsDirectoryAndKeepFullPathIsFalse:652 » FileNotFound ModuleUtilTest.expandJar_shouldExpandEntireJarIfNameIsEmptyString:670 » FileNotFound ModuleUtilTest.expandJar_shouldExpandEntireJarIfNameIsNull:686 » FileNotFound … ModuleUtilTest.expandJar_shouldExpandFileWithParentTreeIfNameIsFileAndKeepFullPathIsTrue:702 » FileNotFound ModuleUtilTest.getPackagesFromFile_shouldSkipOptionalFoldersIfJarFile:746 » FileNotFound

Can you share the full log at pastebin.com?

@dkayiwa https://pastebin.com/A6ihiFMA

Can you remove space from your build path open source and compile again?

Thanks a lot. It worked. Now after running mvn jetty:run it gives me HTTP ERROR 404 when trying to access through http://localhost:8080/openmrs . Here is the full log https://pastebin.com/jN0FHmj5

Compile and run it again.

I tried it several times. Still the same

Share the current full log at pastebin.com

https://pastebin.com/UsNEJ0ue

Run from the webapp folder

Thanks a lot. I have missed that step. now its working :slight_smile: