eclipse-kepler

Ant not working in Eclipse Kepler (Java Virtual Machine Launcher - A Java Exception has occured)

▼魔方 西西 提交于 2019-12-08 15:41:15
问题 I recently upgraded to Eclipse Kepler, and am having issues with Ant. I am getting the Java Virtual Machine Launcher - A Java Exception has occurred error no matter which target I choose in my build files. I tried reinstalling my JDK, and I still get the error. I am running the 7u25 version of the JDK. I have my JAVA_HOME environment variable set to C:\Progra~1\Java\jdk1.7.0_25 , so I don't think this is the problem. What else could be causing the problem? EDIT: I also tested ant in the

Update Maven project internal error - ReferencedComponentXMIResourceImpl cannot be cast to JptXmlResource

戏子无情 提交于 2019-12-08 07:29:08
问题 I need some help from Eclipse/Maven experts out there - I am unable to see my project as a resource to deploy to Tomcat within Eclipse. So I did a search and found that if I run Maven-->Update Project, that would alleviate the problem. However, updating resulted in the following error: An internal error occurred during: "Updating Maven Project". org.eclipse.wst.common.componentcore.internal.impl.ReferencedComponentXMIResourceImpl cannot be cast to org.eclipse.jpt.common.core.resource.xml

How do I make running a JUnit test in Eclipse behave like running the test through Maven on the command line

吃可爱长大的小学妹 提交于 2019-12-08 02:07:12
问题 I’m using Eclipse Kepler and Maven 3.2.3. I have imported my projects using the M2Eclipse plugin. Normally, when I run a JUnit test on the command line, like mvn clean test -Dtest=MyJunitTest there are some things that run in the “process-resources” and “process-classes” phases before my test is executed. In Eclipse, when I open the JUnit test file in an editor, right click the class name (e.g. “MyJUnitTest”) and right click on “Run As” and “JUnit Test”, those phases do not seem to be getting

Application “org.eclipse.e4.ui.workbench.swt.E4Application” could not be found in the registry

泄露秘密 提交于 2019-12-07 14:31:42
问题 I have just moved from 4.2 to 4.3 (kepler). I was working on Eclipse RCP(OSGi framework) which was working fine with 4.2, but once i moved to Kepler- started getting below mentioned error while launching. Any kind of help is appreciated. java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp

ANTLR4 Parser, Visitor not created

一笑奈何 提交于 2019-12-07 05:06:35
问题 I'm new to ANTLR and trying to write grammar in ANTLR4 without any prior brush with the previous version. I'm following the book ' The Definitive ANTLR 4 Reference '. I use Eclipse and installed ANTLR4 IDE as given in here. I wrote the following grammar in Expr.g4: grammar Expr; import Common; options{ language = Java; } prog: stat+; stat: expr NEWLINE | ID '=' expr NEWLINE | NEWLINE; expr: expr ('/'|'*') expr | expr ('+'|'-') expr | INT | ID | '('expr')'; The Common.g4 contains the following

Reset Eclipse perspective layout

时光毁灭记忆、已成空白 提交于 2019-12-07 03:56:00
问题 I've just updated from Eclipse Juno to Kepler. What happened to the Eclipse perspective layout and how can I restore it to fill the entire window? 回答1: From the image provided you do indeed have a minimized perspective stack...it's the far right toolbar at the top of the image that has just the icons for the java and debug perspectives. If you click on its 'restore' button the actual perspective will re-appear. What it looks like is that you have the 'Welcome' (Intro) screen up and maximized

How do I make running a JUnit test in Eclipse behave like running the test through Maven on the command line

扶醉桌前 提交于 2019-12-06 08:12:52
I’m using Eclipse Kepler and Maven 3.2.3. I have imported my projects using the M2Eclipse plugin. Normally, when I run a JUnit test on the command line, like mvn clean test -Dtest=MyJunitTest there are some things that run in the “process-resources” and “process-classes” phases before my test is executed. In Eclipse, when I open the JUnit test file in an editor, right click the class name (e.g. “MyJUnitTest”) and right click on “Run As” and “JUnit Test”, those phases do not seem to be getting run. So my question is, how can I make right-clicking on my Junit Test and selecting “Run As” ->

Eclipse - Glassfish 4 Debugging startup timeout

南楼画角 提交于 2019-12-06 04:37:36
问题 Glassfish 4.0 final gives a timeout everytime I try to start it in Debug mode. The normal run on server (from Eclipse) does work without a timeout. I've tried running Glassfish 4.0 from Eclipse Juno and Eclipse Kepler, both have the correct port configuration for debugging (9009), both are failing to start Glassfish in debug. Is this a known problem? How do I fix this? 回答1: Yes, this is a known issue with the Glassfish 4.0 adapter in Eclipse. Here is a workaround: Shut down Eclipse, open a

Application “org.eclipse.e4.ui.workbench.swt.E4Application” could not be found in the registry

女生的网名这么多〃 提交于 2019-12-05 21:05:14
I have just moved from 4.2 to 4.3 (kepler). I was working on Eclipse RCP(OSGi framework) which was working fine with 4.2, but once i moved to Kepler- started getting below mentioned error while launching. Any kind of help is appreciated. java.lang.RuntimeException: Application "org.eclipse.e4.ui.workbench.swt.E4Application" could not be found in the registry. The applications available are: org.eclipse.equinox.app.error. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run

Cannot install Cobertura plugin for Eclipse

笑着哭i 提交于 2019-12-05 11:58:10
问题 I am getting following error message when I tried to install cobertura plugin in eclipse kepler (java/j2ee version) through eclipse market place. Cannot complete the install because one or more required items could not be found. Software being installed: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152) Missing requirement: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152) requires 'org.junit4 0.0.0' but it could not be found 回答1: I was able