14,141 questions
21
votes
3
answers
8k
views
Tempered Greedy Token - What is different about placing the dot before the negative lookahead?
<table((?!</table>).)*</table>
matches all my table tags. However,
<table(.(?!</table>))*</table>
does not. The second one seems to make sense if I try to write out ...
1131
votes
108
answers
912k
views
R cannot be resolved - Android error
I just downloaded and installed the new Android SDK. I wanted to create a simple application to test drive it.
The wizard created this code:
package eu.mauriziopz.gps;
import android.app.Activity;
...
359
votes
17
answers
800k
views
How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?
I want to develop with Servlets in Eclipse, but it says that the package javax.servlet / jakarta.servlet cannot be resolved. How can I add javax.servlet / jakarta.servlet package to my Eclipse project?...
315
votes
16
answers
546k
views
What are the best JVM settings for Eclipse? [closed]
What are the best JVM settings you have found for running Eclipse?
337
votes
5
answers
227k
views
How to use an existing database with an Android application [duplicate]
I have already created an SQLite database. I want to use this database file with my Android project. I want to bundle this database with my application.
Instead of creating a new database, how can ...
133
votes
8
answers
440k
views
undefined reference to `WinMain@16'
When I try to build a program using Eclipse CDT, I get the following:
/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x106):
undefined reference to `WinMain@16
Why is that? And, how can I solve ...
6
votes
1
answer
8k
views
Egit in eclipse missing tree
Looks like I have a missing tree error. Just to be fair, I did totally just mess up my local files on git and got fed up and did a complete hard disk delete on my repo and recloned from remote master. ...
333
votes
34
answers
680k
views
Cannot run Eclipse; JVM terminated. Exit code=13
I just append
-vm
C:\Program Files\Java\jre6\bin\javaw.exe
in eclipse.ini then I try to start eclipse again and got this error. Give me how to solve or link that actually solve it.
this is my ...
361
votes
11
answers
978k
views
How to import a jar in Eclipse?
How do I import a jar in Eclipse?
312
votes
64
answers
372k
views
Developing for Android in Eclipse: R.java not regenerating
I've found out that my R.java is never updated, so it doesn't contain information about my new resources, so I decided to delete it and thought that Eclipse would generate a new one. But that didn't ...
25
votes
13
answers
123k
views
How to install JDBC driver in servlet based project without facing java.lang.ClassNotFoundexception
There is a VERY similar question to mine but in my case I don't have any duplicate jars in my build path, so the solution does not work for me. I've searched google for a couple of hours now, but ...
12
votes
4
answers
31k
views
How to add JAR libraries to WAR project without facing java.lang.ClassNotFoundException? Classpath vs Build Path vs /WEB-INF/lib
How should I add JAR libraries to a WAR project in Eclipse without facing java.lang.ClassNotFoundException or java.lang.NoClassDefFoundError?
The CLASSPATH environment variable does not seem to work. ...
241
votes
7
answers
72k
views
Libraries do not get added to APK anymore after upgrade to ADT 22
I have a rather big Android App project that is referencing several library projects. Everything was fine until i upgraded the eclipse ADT plugin to the newest version (v22). I also upgraded the SDK ...
333
votes
12
answers
264k
views
How can I use external JARs in an Android project?
I have created an Android project and added an external JAR (hessian-4.0.1.jar) to my project. I then added the JAR to the build path and checked it off in Order and Export.
Order and Export is ...
1012
votes
32
answers
1.3m
views
How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds
I am trying to work with Spring Data and Neo4j. I started by trying to follow this guide linked to by the main site. In particular I based my pom.xml off of the "Hello, World!" example file. Here is a ...