eclipse-jdt / .github

0 stars 5 forks source link

Eclipse is not resolving the imports and suggests me to create class, create record, create interface, create enum and add type parameter to method and class #20

Open rimisszoic opened 1 year ago

rimisszoic commented 1 year ago

Eclipse is not resolving the imports and suggests me to create class, create record, create interface, create enum and add type parameter to method and class.

I normally use for my applications the jdk17, some of the imports I use are not being resolved by eclipse, the same class suggests me create class, create registry, create interface, create enum and add type parameter to method and class and stuck at the crossroads because I don't know the import path of the class from the jdk. This is a stumbling block for me and have become critical to go ahead with the development of my projects to study develop with java. It never suggests me the import when I mouse over, it suggests me to create any kind of element for the project that java has available, but it never suggests me the one that is already developed by java. I would like the eclipse community to solve this error as soon as possible and suggest me some possible solution until the problem is definitely solved. I use the community version of IDE 2023-03 (you download a zip file with the IDE without installing it).

Hint text when hovering the mouse over the class to import

This is the error when hovering the mouse over the class to be imported: The scanner cannot resolve a type. This error occurs with the great majority of classes developed by Java. For my part I do not know the vast majority of package paths to import that class, there are many classes and different packages.

Attached images of the problem

Suggestions when hovering over the class to be imported Module project Project libraries


All links in the attached images section of the problem are images.