2015-09-13 41 views
6

Tôi đang cố gắng cập nhật cài đặt proxy mạng của mình trên Luna nhưng chúng không thực hiện. Tôi đã sử dụng tùy chọn thủ công và nhập thông tin xác thực. Khi tôi đóng cửa sổ, các thiết lập không có ở đó. Làm thế nào tôi có thể sửa vấn đề này?Eclipse: không thể thay đổi thông tin xác thực proxy cho Luna trên OSX

Đây là Eclipse Luna dành cho Mac, OSX Yosemite.

Đây là lỗi

java.lang.SecurityException: Không thể có được mật khẩu. Kết quả: -25300 tại org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword (Native Phương thức) tại org.eclipse.equinox.internal.security.osx.OSXProvider.getPassword (OSXProvider.java:45) tại org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword (PasswordProviderModuleExt.java:35) tại org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword (SecurePreferencesRoot.java:259) tại org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword (SecurePreferencesRoot.java:224) tại org.eclipse.equinox.internal.security.storage.SecurePreferences.put (SecurePreferences.java:224) tại org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.put (SecurePreferencesWrapper.java:110) tại org.eclipse.core.internal.net.ProxyType.saveProxyAuth (ProxyType.java:550) tại org.eclipse.core.internal.net.ProxyType.setProxyData (ProxyType.java:154)

Tôi đang xem xét 'xoá mật khẩu' trong bộ nhớ an toàn? Tôi chưa từng làm nó bao giờ.

Trả lời

7

Trước tiên, bạn nên thử vệ sinh SOCKS từ Eclipse. Thực hiện điều đó bằng cách sau -
Window-> Preferences -> General -> Network Connection.

Bây giờ hãy xóa bỏ bỏ qua proxy và xóa SOCKS IP.

LƯU Ý: - Điều này sẽ hoạt động nếu bạn có máy chủ proxy.

Bây giờ, hãy tiếp tục và đặt chế độ Active Provider thành Manual. Thực hiện việc này bằng cách -

  • Cài đặt kết nối mạng mở.
  • Chọn Nhà cung cấp hoạt động cho "Thủ công".
  • Đặt proxy HTTP/HTTPS.

Khởi động lại Eclipse để áp dụng các cài đặt này.

Sự cố của bạn hiện đã được giải quyết.

+1

Tôi đã thêm 'Xoá mật khẩu' từ cấu hình bảo mật. –

Các vấn đề liên quan