Energy crisis could be solved in every nation, just create self sufficient ones, solar, wind, nuclear, hydro, and anything else you can find, these are all stuff that you can do to cover energy need of a nation without being depending any other nation, its as simple as that.
Sadly it can not.
Because for starters the renewable energies you named can not replace fossil fuels in a lot of products we are using. You see gas, oil and their products are used in a lot more than to produce electricity.
Additionally building the infrastructure to use renewable energies is difficult and in certain places impossible. Not to mention that in certain cases (eg. nuclear power and electric cars) majority of countries need to import both the technology and the fuel (nuclear fuel and lithium batteries) which means another form of "energy" crisis.
Regarding Petroleum Renewables and Energy Outlook.
The energy component of the oil market is conditionally fuel for solutions using internal combustion engines in one form or another.
The process of abandoning internal combustion engines is already gaining momentum. And this is reflected in the share of global oil production that goes to the production of such fuel.
At the same time, it is foolish to deny that if we are talking about hydrocarbons, the picture is not so rosy.
For example - cogeneration plants, thermal power plants, they operate on fossil carbonaceous fuels (coal, fuel oil, ....).
The second not very positive example is the chemical industry. Most of the world around us is made up of plastics, paints .varnishes, glues, .... And these are mostly oil/gas derivatives.
A third example is industrial facilities, like metallurgical plants, which mostly consume coking coal and other carbon mixtures.
If we go back to oil - about 55% (10 years ago it was about 65%) of oil is used for fuel production, for internal combustion engines (in one form or another), and there is a downward trend. The chemical industry consumes up to 25% of oil. The non-energy sector still consumes about 11% (bitumen, oils, etc.)
Therefore, it is likely that in the coming decades there will be a marked decrease in the share of oil for the production of fuel for internal combustion engines, but it is unlikely that the need of the chemical industry will decrease.