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
0
votes
2 answers

Why oracle driver is needed in Eclipse build path?

I am new to JDBC and just made my first program in Eclipse. I am using Oracle 11g XE as database. I have added ojdbc6.jar to my classpath by copying it in the lib folder of the jdk installation. This is my code: import java.sql.Connection; import…
Surender Thakran
  • 3,958
  • 11
  • 47
  • 81
0
votes
1 answer

Generating really unique IDs for imported JAR

After failing to use an Android project as library (see this if you want details) I exported the project's JAR file and (created and) added to the 'libs' folder. I also added the JAR file to the Project's build path. But I got this runtime…
ilomambo
  • 8,290
  • 12
  • 57
  • 106
0
votes
1 answer

Unable to link external libraries during Android unit testing

I'm seeing some interesting warnings while loading up my unit tests for my Android project. I don't see these errors when running the app normally. They aren't preventing my unit tests from being run, but they are concerning. The Flurry library…
Karim Varela
  • 7,562
  • 10
  • 53
  • 78
0
votes
3 answers

Access properties file in java which is not on buildpath

I have created a java maven web application. Now my problem is that I have to access a properties file using resource bundle or Properties class. But this properties file is in webapp/resources folder i.e. in the same directory as my js and css…
Popeye
  • 1,548
  • 3
  • 25
  • 39
0
votes
1 answer

Loading resources after refactoring project structure in Eclipse

I recently changed the build path for a couple of packages in an eclipse project. Ultimately the file structure should have stayed the same however. So what was once the package main.java.edu.umb.cs is now edu.umb.cs. All the links were working…
Matt
  • 5,408
  • 14
  • 52
  • 79
0
votes
2 answers

unit testing Spring Web app with JConnect

I am having an issue with my attempt to unit test my DAO in a webapp. I have my spring configuration all set up to create a dataSource bean using the Sybase JConnect JDBC driver. My problem is that I can only get my bean created when I run the app…
75inchpianist
  • 4,112
  • 1
  • 21
  • 39
0
votes
1 answer

Managing external JARs build paths in git controlled eclipse project created in Ubuntu and cloned in Windows

I am having an eclipse project created on Ubuntu, in which all the JARs that I am using, are located in a folder /home/xyz/AllJARs. Here the /home is the system home folder. The project as well as the AllJARs folder is git version controlled on a…
Abhijeet Vaikar
  • 1,578
  • 4
  • 27
  • 50
0
votes
0 answers

build path contains entries not specified by dependencies

after importing a project into eclipse using m2e plugin, the build path contains entries not specified by the dependencies in the pom.xml file. Why? The dependencies are shown in the following file. pom.xml:
ahmehri
  • 756
  • 2
  • 8
  • 26
0
votes
2 answers

Eclipse, Java: How to import a library in zip-format?

Ok, this is basic, but it seems that the normal way of doing this doesn't work for me. I'm trying to import the jSSC library, for communication with serial ports etc. The newest library is jSSC-0.9.0-Release So, I've tried the following: Placed the…
user1341676
0
votes
1 answer

Why do eclipse error dissappear when I copy paste code to new file

I've recently had to move my code from one pc to another (oddly enough a windows terminal to a linux desktop). fortunately (at least I thought) I had regularly exported the code using the export function in eclipse, and saved the copy onto a USB…
DaveM
  • 734
  • 4
  • 11
  • 35
0
votes
1 answer

ClassNotFoundException: Could not find class: but Class is Exist

I Found ClassNotFoundException in my apps, but The Class is Exist.. Here's the project workspace I was working with lots libraries, But i have problem while createing build path and depedencies.. The Logcat Show Msgs: 12-10 00:36:56.840:…
0
votes
1 answer

Twitter APIs and adding Jars to Build path

I am trying to manually add a jar file to my project for the 1st time. I have downloaded Twitter4j in order to use these APIs in my app. I extracted twitter4j-core-2.2.6-sources.jar and twitter4j-core-2.2.6-javadoc.jar and copied them to my /libs…
user1654757
  • 300
  • 1
  • 5
  • 14
0
votes
2 answers

Android app with eclipse project dependency

I have an Android app which uses a jar library generated from another Eclipse project. But is it possible to directly reference this project instead of using an intermediate jar ? When I do that, the build succeeds but I get VerifyErrors at runtime…
sdabet
  • 18,360
  • 11
  • 89
  • 158
0
votes
0 answers

Eclipse java.lang.ClassNotFoundException -- class is most definitely on build path

I cannot start my Eclipse JSF project on my Tomcat 7.0 server because I keep getting this ClassNotFound error, but I can clearly navigate to the class in the src folder, and I have confirmed that the containing package is on the project build path.…
Jake Long
  • 706
  • 3
  • 7
  • 17
0
votes
1 answer

Eclipse isn't recognizing a method in an imported JAR file. Why not?

I'm working on updating some Java code for my job, using Eclipse. In this project, there is a JAR file, stored in a 'resources' folder within the project folder, being imported by the main class. This JAR file contains a class we need to use, within…
p.koch
  • 183
  • 1
  • 9