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.
今まで見たことのない問題に遭遇しましたが、検索しても何も見つかりませんでした。プログラムにSWTDateTimeとJodaDateTimeをインポートしましたが、共存できないようです。eclipseで両方のクラスを許可する方法はありますか?swt DateTimeウィジェットを排他的に使用したいと考え続けており、異なるインポートで同じ名前の2つのクラスを処理する方法がわかりません。ありがとう!
両方のインポートをスキップして、完全なパッケージ名を使用してクラスを参照できます。
public class Main { private org.joda.time.DateTime jodaDateTime; private swt.DateTime swtDateTime; }