Germany faced up to that history and quickly integrated into the European environment after the war. Now it has become one of the core members of NATO.
Japan always avoids this history or makes excuses. The Japanese right wing is still rampant in Japan, and the government turns a blind eye. Japanese young people don't know what that history is all about. Therefore, Japan has not really integrated into the Asian environment.
China, South Korea and North Korea, including Russia, all have many problems with Japan. The relationship is subtle or even bad.