While browsing Joomla site “404 component error” message refer following steps to resolve issue.
Login into Joomla admin section
Then select Menus >> Menu Item Manager
Check box “Home” option from list and then only click on the YELLOW star icon in the upper-right corner.
Now browse your site and if you are still having any problem then refer Joomla thread to sort out your issue.