Java eclipse ClassFoundException exception solution

1. Error reporting place

1.报错问题:Multiple annotations found at this line:
    - ClassNotFoundExpection cannot be resolved to 
     a type
    - ClassNotFoundExpection cannot be resolved to 
     a type

 2. The problem of guide package

1. Guide package: right click on the problem project, select Build Path→Configure Build Path 

Then select Libraries, if there is a JRE System Library, select it and click Edit on the right,

 Select the Workspace default JRE option.

 Finally, remember to click apply or apply and close.

 3. Word spelling problem

ClassFoundException is written as ClassFoundExpection (check carefully, it's really hard to find)

Guess you like

Origin blog.csdn.net/qq_63644501/article/details/130336038