Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+23 votes

The type java.lang.invoke.MethodHandles cannot be resolved. It is indirectly referenced from required .class files

does anyone knows how to fix this error?

asked in CSC305 Fall 2022 by (1 point)

1 Answer

+7 votes

I haven't seen that specific error before, but it sounds like it probably relates to your Java or Eclipse configuration.

What version of Eclipse and JDK do you have installed?

What is the "build path" for the project showing? Is any library missing or "unbound"?

answered by (3.4k points)
...