Issue
I have a weird problem with an import I'm using in an Eclipse project. I am importing javax.xml.bind but I have an error saying that it cannot be resolved. My project's compliance is using Java 1.8, my JRE System Library is also 1.8. A friend of mine that is working on the code with me through Github has the same Java configurations in Eclipse but he is not having the same problem as I do. We have tried uninstalling and re installing the JRE for the project and still won't work. Does anyone know what's this all about?
Solution
You might have configured a newer Java JDK/JRE (where javax.xml.bind
is missing) in Window > Preferences: Java > Installed JREs.
Answered By - howlger
Answer Checked By - Candace Johnson (JavaFixing Volunteer)