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.
私はEclipse for Javaを使用しています。HTTP プロキシに接続しようとすると、次のコードで次のエラーが表示されます。
Proxy httpProxy = new Proxy(Proxy.Type.HTTP, addr);
Type cannot be resolved or is not a field
何か案は?ありがとう。
インポートしたプロキシ クラスは「java.net.Proxy」ではない可能性があります。パッケージ宣言を確認してください。