Remove config package and baspackage in componentscan.