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
1 answer

The resource is not on the build path of a java project (eclipse)

Also whenever I try to see the methods of a DS using the "." the IDE won't show me the methods of the map. It's like if I'm programming in a word document, no help of the IDE. Also you can see the weird colors of the variables in the photo. I don't…
0
votes
0 answers

How to add dll to java library path properly

i am using a local .jar file in my eclipse project which loads a .dll itself: private static void ForceReloadLibraryPath() { /* */ try { /* 731 */ Field fieldSysPath = ClassLoader.class.getDeclaredField("sys_paths"); /* 732 */ …
umpapa
  • 55
  • 1
  • 8
0
votes
0 answers

How to build a sub project at a muti project

I'm learning buildpack right now. I try to build a sub project at a muti project , my project like settings.gradle include 'subProject1' include 'subProject2' build.gradle in root plugins { id 'org.gradle.sample.hello' version '1.0.0' apply…
sia
  • 21
  • 5
0
votes
1 answer

Build failure when adding jar file directly in java build path in maven based project and not adding its entry in pom file?

I have a maven based project. And I have few dependencies that are our custom dependencies. Now till now, if I add these dependencies in java build path and make their entry in pom file using abc
John
  • 276
  • 1
  • 9
  • 29
0
votes
0 answers

I'm not able to use an external library in Java

I'm having trouble adding a .jar externally, notice that the .jar in the correct location, apparently has been added to the project, is ms-azure-cs-faceapi.jar, I added by clicking on add external JARs. I'm using this library in a class only, and…
Ronald Calazans
  • 71
  • 1
  • 11
0
votes
0 answers

How to resolve - Unbound class path container : 'Default System Library' error in Eclipse

I have eclipse-jee-neon-3-win32-x86_64 installed on my machine and jre 8 installed. When I open eclipse and import my project I get Unbound classpath container : 'Default System Library' error in Eclipse. I went to java build path and tried doing…
0
votes
1 answer

Duplicate classes in identical packages, but only one of those can be imported

I am working on a legacy Java app and am investigating why there are duplicate classes in 2 of the projects, used in the workspace. So the classes from project1 and project2 are both in com.example.SomeClass - the package name is the same, as well…
Rivfader
  • 59
  • 6
0
votes
1 answer

How to reference tools.jar from Eclipse, regardless of path

In my company, we check our Eclipse *.launch files into source control. How can we reference tools.jar (which is part of the JDK installation) from a launch file regardless of where the user installed his JDK? For example, if one user installed his…
Dan R.
  • 761
  • 5
  • 21
0
votes
1 answer

Error while keeping .jar file in buildpath of project on 2 laptops

I am using 2 laptops with the eclipse workspace synced through OneDrive. I am working on a program which uses JDBC, with SQL. When I add the Connector/J.jar file to the build path from one PC, it shows an error in the other PC, and doesn't run at…
Ojas Pednekar
  • 39
  • 1
  • 2
  • 8
0
votes
0 answers

How to run test methods in eclipse

I want to run test methods of the test code files that are under /spring-boot/src/test/java/com/example/springboot/. enter image description here I thought I need to use those files as source folder. However, when I build path…
jimi1206
  • 1
  • 3
0
votes
0 answers

Setting up Selenium for Java (necessary jars and imports to create a Firefox driver)

I was wondering if someone could share with me what their Build Dependency looks like for Selenium for Java. I have been trying to create a Firefox driver, but have been encountering this error. Exception in thread "main"…
0
votes
2 answers

Get Groovy to Recognize Eclipse Build Path

I have a project in Eclipse and a problem with a groovy script therein. In the script I need to import some classes from a different package in the project. I can import things like groovy.sql.Sql or java.sql.ResultSet just fine. However, when I…
Yottagray
  • 2,552
  • 5
  • 32
  • 43
0
votes
1 answer

eclipse errors when calling methods of imported abstract classes or interfaces from different project

I've just downloaded a large project from source control which includes multuple projects-as I've done before without trouble. Usually the class depencies are already defined and I can import the packages into eclipse without difficulty. This time…
drew
  • 577
  • 2
  • 8
  • 20
0
votes
0 answers

.jar file not running without resource folder

I followed a tutorial on YouTube on how to build a game in Java. I changed the code quiet a bit but kept all the basics. When I export my game with eclipse as a runnable jar the game only works when the resources folder is in the same directory as…
bry42
  • 1
  • 1
0
votes
0 answers

Eclipse: java.io.FileNotFoundException: (The system cannot find the file specified)

public class RunTests { public static void main(String[] args) { TestNG testNG = new TestNG(); List suites = Lists.newArrayList(); File xml = new File("xml.xml"); suites.add(xml.getAbsolutePath()); …
displayName
  • 195
  • 2
  • 15