Questions

Java could not find or load main class?

I am getting following error using IntellJ IDE...

Error: Could not find or load main class AddressCalc
Caused by: java.lang.NoClassDefFoundError: AddressCalc (wrong name: AddressCal)
Advertisement

Written by Sam Erickson

Pen name of a software engineer with 20+ years in the industry, from Fortune 500 companies to startups. Newer articles are researched and drafted with AI tools I direct and fact-checked against their sources. Author of Mastering the Tech Interview. More about me

Advertisement