Fixing component java project