eclipse-juno

Unable to find Deployment assembly Eclipse Juno

六眼飞鱼酱① 提交于 2019-12-11 02:29:36
问题 I am trying to set up "Web Deployment Assembly in project properties". I want to add "jtds-1.3.0.jar" to the project. But I cannot find "Deployment Assembly" option under properties of the project. Please suggest me how to do that. 回答1: That means that either: Your Eclipse distribution doesn't contain WTP (which Eclipse distribution did you download? make sure you downloaded a distribution that includes WTP, such as "Eclipse for JavaEE developers"). Your project isn't defined as a Dynamic Web

Changing perspective causes popup error, debug perspective no longer functional

梦想的初衷 提交于 2019-12-11 01:54:56
问题 Just installed Eclipse Juno, having problems with perspectives since then. In addition to the editor window being very small and confined to one corner of the display (in Debug; it's okay in Java perspective), I am getting errors when changing perspectives. Suggestions? I'm going to go back to Indigo if I can't fix this. When I switch from the Debug perspective to the Java perspective I get a popup titled "Problem Occurred." The text in the popup reads: An error has occurred. See error log

org/eclipse/e4/ui/model/application/ui/MUIElement Class Not Found , Java Eclipse Juno

烈酒焚心 提交于 2019-12-10 22:04:43
问题 I am doing a CIMTool project, for a handle of WorkbenchWindow Code Snippet import org.eclipse.ui.IWorkbenchWindow; import org.eclipse.ui.PlatformUI; //(both these Classes are present in Libraries) IWorkbenchWindow window=PlatformUI.getWorkbench().getActiveWorkbenchWindow(); Issues Following Error is slapped Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/e4/ui/model/application/ui/MUIElement at org.eclipse.ui.PlatformUI.getWorkbench(PlatformUI.java:90) Environment

Eclipse Juno - Assertion Failed (Problems occurred when invoking code from plug-in: “org.eclipse.jface”.)

醉酒当歌 提交于 2019-12-10 14:33:12
问题 I recently installed Eclispe Juno for Java for Android . I usually press . after a class name to know the associated methods, in case I wish to choose some other method instead of one already chosen from this list the following error pops up in the IDE. How can tell IDE that this is not an error and there is no need to pop this message again and again? The following is the error log from Eclipse !ENTRY org.eclipse.jface 4 2 2012-07-01 02:04:29.242 !MESSAGE Problems occurred when invoking code

Eclipse Juno cannot make new project after update

馋奶兔 提交于 2019-12-10 14:00:59
问题 I'm using Ubuntu 12.04, and to install Eclipse Juno I downloaded it from the official site (I don't use apt-get nor software center) After updating it from help > check for updates menu, my Eclipse cannot make new project. When I hover File > New, there isn't any menu to select (as the usual Java Project, C++ Project etc.), only an unselectable text like this: < No Applicable Items > Anyone know what causes this? 回答1: nitind's answer above helped solve my problem. I was using eclipse java ide

Cannot set Eclipse Juno C++ with std=c++11

笑着哭i 提交于 2019-12-10 13:12:36
问题 I have Eclipse Juno C++ ( Build id: 20120614-1722 ). I'm trying to set the compiler invocation arguments with instruction -std=c++11 or -std=c++0x but while compiling the code below. There is no "Tool Settings" in Eclipse Juno (at least for Mac), so I cannot go to "C/C++ Build -> Settings -> Tool Settings". My compiler is GCC 4.8.0 #include <iostream> #include <sstream> #include <vector> using namespace std; int main(void) { vector<string> v = {"a","b","c"}; for(string s: v){ cout << s <<

Egit is installed (came with Juno), but does not show at all

扶醉桌前 提交于 2019-12-09 03:32:29
问题 I want to use GIT in eclipse, and preferably EGit, for it's support from the eclipse community itself. However, despite eclipse claiming the required plugins are installed, it does not appear in the perspectives, import and settings menu's. I am using Eclipse Juno for Java EE, and have confirmed the following installs: When I update software, there are no more updates available. When I go to the repository for Egit, or JGit for that matter, eclipse tells me the plugins are already installed.

“Could not find main method from given launch configuration” when using Java+Scala+Slick2D

折月煮酒 提交于 2019-12-09 02:57:52
问题 I've got a project in which I'm using Java+Scala+Slick2D. The project itself runs well when launched from within eclipse. But when I try to make a jar file, it just refuses to work. Here's the error I keep getting when trying to export it as a Runnable jar: And if I try to export into just a Jar file, it's unable to find the Main Class: There is, of course, a main class in game.TicTacGame. But it refuses to acknowledge it. I tried creating an executable with a simple Hello World project and

Retain previous open file tab under visible tabs

自闭症网瘾萝莉.ら 提交于 2019-12-08 22:41:02
问题 Eclipse Juno - In my workspace I have 'Package Explorer' opened on the left side, on the right side I have 6 visible file tabs and under 'Show List' I have 17 files. Out of those 6 visible file tabs, I'm working on the 3rd file (abc.java) and If I pick up a file under 'Show List' (xyz.java), then eclipse displays xyz.java as active tab and the next 5 files from the Show List. My previous visible file tabs are gone and now I have a new set of visible file tabs. Is there a way to have my

Unresolved import errors yet successful import still occurs

[亡魂溺海] 提交于 2019-12-08 09:10:36
问题 I am working on a project in Eclipse Juno. I wrote a class called Character in a package named chargen.py. There's a red X next to from chargen import Character : Unresolved import: Character Character Found at: Avarice_v0.PlayAvarice_v0 from chargen import Character Yet the import works. The entire code at the moment is simply this: from chargen import Character def main(): PLAYER = Character("") print(PLAYER) if __name__ == '__main__': main() This code results in the printing of the __str__