Questions tagged [buildpath]

This tag refers to build path settings for a Java project in Eclipse IDE. You can reach this option through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

This tag refers to build path settings for a Java project. You can reach this page through the project properties (Project > Properties > Java Build Path) from the context menu on a created project or the File menu of the workbench.

More info at Eclipse web site

409 questions
5
votes
2 answers

Remove/Add jar to all projects in eclipse workspace

I have recently upgraded a framework I am developing with and one of the jars from the old install has been upgraded to a newer version (i.e. the name of the jar is different). All of the (200+) projects in my workspace depend on this jar and so now…
ferekdoley
  • 139
  • 1
  • 8
5
votes
6 answers

Cannot add android.support.v7 to my project build path

I am trying to add android-support-v7-appcompat to my project build path: This is what I have done: Right-click on my own project -> build path -> configure build path -> choose Android on the left column and then click "Add". I choose…
5
votes
2 answers

Issue with build path

I'm trying to use the setTextContent method in the piece of code below and I'm getting this compilation error in Eclipse: The method setTextContent(String) is undefined for the type Element But once I changed the order of buildpath, I was able to…
Vamshi
  • 510
  • 2
  • 10
  • 26
5
votes
3 answers

android-support-v7-appcompat library project won't work

I am trying to add Support Library v7 to my clean android project as support library (with resources). I followed every instruction here: http://developer.android.com/tools/support-library/setup.html#download and android.support.v7.* package is not…
pawelo
  • 1,405
  • 4
  • 15
  • 30
5
votes
1 answer

Practice for ensuring Android projects build right after SVN checkout in Eclipse

Problem: When a project is checked into SVN, and someone else checks it out, there is an exclamation mark on it and build path errors need to be resolved. How to fix it? As an example, I have a project and following is it's structure: It has 3…
vkinra
  • 943
  • 1
  • 9
  • 16
5
votes
3 answers

Android/ Eclipse: Removing /src folder from build path

This might sound like a stupid question, but what exactly happens when I remove the /src folder of an Android project from the 'build path' (only MainActivity/gen is left there)? I can still compile and run the project, so what does the build path…
fweigl
  • 21,278
  • 20
  • 114
  • 205
5
votes
3 answers

How to add external jar without Eclipse build path option?

My java file jdbc11.java was compiled successfully with javac jdbc11.java command in cmd, after that when I tried to to run java jdbc11 I got this exception: java.lang.ClassNotFoundException: com.mysql.jdbc:Driver refering to this code in the…
nabil
  • 904
  • 3
  • 12
  • 28
5
votes
6 answers

Eclipse - cant add jar to build path. jar is inside the lib folder of project, but not visible

I manually copied the my sql connector jar to lib folder of my sql jdbc project. I had some old jars already in that folder and which were also easily added to build path before. Now, I forgot how i did it and i don't see that the lib folder when i…
sweet dreams
  • 2,094
  • 13
  • 32
  • 46
5
votes
4 answers

How to add maven repository jars to eclipse buildpath?

From eclipse I can see all the necessary jars in maven repositories view. But I have around 100 errors for the missing jar files. So I have set M2_REPO environment variable. I have ran the mvn eclipse:eclipse command from command line. When I run…
Sara
  • 2,417
  • 7
  • 35
  • 52
4
votes
3 answers

android instrumentation testing : IllegalAccessError

I am getting the IllegalAccessError while running Android instrumentation tests. This is Logcat output: java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation This is my setup: TestProject tests…
Chaitanya
  • 2,039
  • 4
  • 25
  • 32
4
votes
7 answers

Eclipse Build Path not available

The build path option is not available when I right clicked on one of the the jars I wanted to include. Anybody knows why? Thanks! The Eclipse version I am using is Eclipse SDK Version: 3.7.1 Build id: M20110909-1335
sammiwei
  • 3,140
  • 9
  • 41
  • 53
4
votes
0 answers

Eclipse : how to link and merge two linked ressources in the same project?

I have two projects, both have the folder "rsc" which contains all the ressource used. what i want to do is access the ressources of the first project from the second project, i am not allowed to change any code, so i can't change the folder's…
AminePaleo
  • 97
  • 1
  • 1
  • 9
4
votes
1 answer

Adding .class files to the build path in Eclipse

I'm trying to add the SOS.class file to the build path, however, I'm not quite succeeded. I tried converting and adding this SOS.class file as SOS.jar file, yet, It didn't worked again. When I declare the class's object reference it just gives me…
Burak.
  • 598
  • 7
  • 19
4
votes
2 answers

What is difference between adding jar to WEB-INF/lib folder & BuildPath

What's their(in buildpath jars and in WEB-INF/lib jars) duty? Thanks.
Utku Soytaş
  • 1,475
  • 2
  • 19
  • 30
4
votes
3 answers

Indirectly referenced from required .class file, even the build path is set correctly apache POI..?

import java.io.*; import org.apache.poi.poifs.filesystem.*; import org.apache.poi.hpsf.DocumentSummaryInformation; import org.apache.poi.hwpf.*; import org.apache.poi.hwpf.extractor.*; import org.apache.poi.hwpf.usermodel.HeaderStories; public…
roanjain
  • 1,252
  • 4
  • 14
  • 32