0
votes

I am starting to think something on my eclipse has gone completely wrong. I've tried uninstalling and re-installing the plugin, also restarting my computer but nothing has worked.

I also don't think it's a bug, at least not a known one because I've been searching around and haven't found anything about such a problem (I'm doing the app using java).

This is the error I get when I right click the project and select Run as Web Application:

An internal error occurred during: "Launching CodeLabEx0".
org/eclipse/jdt/debug/core/JDIDebugModel

And this is what happens when I right click and try to Debug as Web application:

An internal error occurred during: "Launching CodeLabEx0".
com/sun/jdi/connect/IllegalConnectorArgumentsException

And when I select Run configurations... I get this:

An error has occurred. See error log for more details.
com/google/gdt/eclipse/suite/launch/ui/WebAppArgumentsTab

and

No tabs defined for launch configuration type Web Application

Am I missing something really dumb?

2
longshot but, not knowing your os/version ... I recall some issues with eclipse, appengine, and the standard Java version on macs. I replaced the sun jdk with open jdk and it fixed it. code.google.com/p/googleappengine/issues/detail?id=4712jayunit100
Sorry, I forgot to specify that I'm on Windows 7 64-bit, and that my android projects run fine.8oh8
Are you running both GPE and android plugin on the same eclipse? I know from experience that they don't mix well, to fix it i have 2 eclipses with a plugin for each.Rohan
@Rohan Thanks, that was the problem.8oh8

2 Answers

0
votes

Are you running both GPE and Android plugin on the same eclipse? I know from experience that they don't mix well, to fix it i have 2 eclipses with a plugin for each.

0
votes

For me, switching from the OpenJDK to the Sun JDK fixed it.


Linux Instructions

Download the sun jdk 6 bin and then run the following:

chmod +x jdk-6u35-linux-x64.bin
./jdk-6u35-linux-x64.bin
sudo mv jdk1.6.0_35 /usr/lib/jvm/
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.6.0_35/bin/javac 1
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.6.0_35/bin/java 1
sudo update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk1.6.0_35/bin/javaws 1

Run each of these commands and set your new default java to the sun versions:

sudo update-alternatives --config javac
sudo update-alternatives --config java
sudo update-alternatives --config javaws

Enable Java plugin for browsers.

# 64 bit:
sudo ln -s /usr/lib/jvm/jdk1.6.0_35/jre/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins

# 32 bit:
sudo ln -s /usr/lib/jvm/jdk1.6.0_35/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins