eclipse

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

Eclipse : How to set env variables for Gradle run

不羁的心 提交于 2021-01-27 17:13:33
问题 I am using the buildship plugin to build gradle projects. I need to use some env variables in my build script to connect to some external repositories. When i run the gradle build from command line, it works fine as I have the required env variables. I would like to run the build from eclipse. I do not see an Environment tab in the run configuration window. How do i set env variables for gradle build in eclipse? Here is where i need the env variables repositories { mavenCentral() maven { def

Credential storage failed in eclipse in Mac OSX

左心房为你撑大大i 提交于 2021-01-27 17:04:13
问题 When i'm connecting to server projects in tfs using eclipse in mac with my credentials it is connecting without any issues, but when i check the 'save password' at the login dialogue box it is showing an error as 'Credential storage failed (Could not save your credentials)' Is there any way to get rid of this, because I don't want to enter my username and password every time when I open eclipse. See the following images. . . Any comments or suggestions would be appreciated. Thank you in

Credential storage failed in eclipse in Mac OSX

拥有回忆 提交于 2021-01-27 17:01:10
问题 When i'm connecting to server projects in tfs using eclipse in mac with my credentials it is connecting without any issues, but when i check the 'save password' at the login dialogue box it is showing an error as 'Credential storage failed (Could not save your credentials)' Is there any way to get rid of this, because I don't want to enter my username and password every time when I open eclipse. See the following images. . . Any comments or suggestions would be appreciated. Thank you in

Eclipse refactoring fails -> Keeps throwing exceptions!

我只是一个虾纸丫 提交于 2021-01-27 16:31:11
问题 I'm using Eclipse Helios and for every refactoring that spans multiple files it plainly fails! Nothing happens. On examining the logs here's the error that I see: !ENTRY org.eclipse.ltk.ui.refactoring 4 10000 2011-03-13 14:15:31.842 !MESSAGE Internal Error !STACK 0 java.lang.reflect.InvocationTargetException at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421) at org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(RefactoringWizardDialog2.java:330) at org

PyDev doesn't recognise PyQt5

眉间皱痕 提交于 2021-01-27 16:15:46
问题 I am following a tutorial on pyqt, and got this code: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Example(QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): cb = QCheckBox('Show title', self) cb.move(20, 20) cb.toggle() cb.stateChanged.connect(self.changeTitle) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.show() def changeTitle(self, state): if state == Qt.Checked:

PyDev doesn't recognise PyQt5

久未见 提交于 2021-01-27 16:11:44
问题 I am following a tutorial on pyqt, and got this code: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Example(QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): cb = QCheckBox('Show title', self) cb.move(20, 20) cb.toggle() cb.stateChanged.connect(self.changeTitle) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.show() def changeTitle(self, state): if state == Qt.Checked:

PyDev doesn't recognise PyQt5

偶尔善良 提交于 2021-01-27 16:11:25
问题 I am following a tutorial on pyqt, and got this code: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Example(QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): cb = QCheckBox('Show title', self) cb.move(20, 20) cb.toggle() cb.stateChanged.connect(self.changeTitle) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.show() def changeTitle(self, state): if state == Qt.Checked:

PyDev doesn't recognise PyQt5

╄→尐↘猪︶ㄣ 提交于 2021-01-27 16:11:09
问题 I am following a tutorial on pyqt, and got this code: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Example(QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): cb = QCheckBox('Show title', self) cb.move(20, 20) cb.toggle() cb.stateChanged.connect(self.changeTitle) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.show() def changeTitle(self, state): if state == Qt.Checked:

PyDev doesn't recognise PyQt5

旧巷老猫 提交于 2021-01-27 16:08:33
问题 I am following a tutorial on pyqt, and got this code: import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * class Example(QWidget): def __init__(self): super(Example, self).__init__() self.initUI() def initUI(self): cb = QCheckBox('Show title', self) cb.move(20, 20) cb.toggle() cb.stateChanged.connect(self.changeTitle) self.setGeometry(300, 300, 250, 150) self.setWindowTitle('Checkbox') self.show() def changeTitle(self, state): if state == Qt.Checked: