First switch to the java view
Copy the full name of the missing java class
Select the top toolbar, "Open Type" (Ctrl shift t)
Paste the full name of the java class, determine which jar package the java class is in, and locate it Which path on the computer is the jar package in?
In the left project bar, right-click anywhere on the project file and select 'Build Path' --> 'Configuration Build path '
#Add external JAR package.
Finish!
Recommended tutorial: java quick start
The above is the detailed content of Solution to missing package error in java project. For more information, please follow other related articles on the PHP Chinese website!