Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在处理一个 java 项目,我创建了一个数据传输对象,这样我就可以从另一个类的方法返回多个值。但是,当我尝试导入此类时,它说无法解决导入问题。除了在我的导入中没有使用正确的路径之外,还有其他可能导致此问题的原因吗?
事实证明,我所说的关于在导入时不使用正确路径的第一件事是正确的。嗯,这很容易!