javax.xml.bind cannot be resolved

▼魔方 西西 提交于 2021-01-27 17:40:10

问题


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?


回答1:


You might have configured a newer Java JDK/JRE (where javax.xml.bind is missing) in Window > Preferences: Java > Installed JREs.



来源:https://stackoverflow.com/questions/61177573/javax-xml-bind-cannot-be-resolved

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!