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

Including Droid-Fu library in Android project

I opted to compile my Android project against the Droid-Fu source rather than packaging the library into a JAR. Thus, I imported Droid-Fu into my workspace and added it as an Android library to my project. I'm currently using the WebImageView…
Tyler Treat
  • 14,640
  • 15
  • 80
  • 115
0
votes
0 answers

Keep getting "Cannot be resolved into a Type" errors after adding secondary Project to Build path

I'm using Eclipse IDE. I keep getting the same error: "Cannot Resolve whateverClass to a Type" Here's my code: https://github.com/devcarokp/JEE.git So I have: hsports-catalog-CDI --> my main EAR project for deployment It contains:…
KrOo Pine
  • 451
  • 4
  • 5
0
votes
1 answer

Compiler runs class outside build path instead of class inside build path

I'm developing a java application that uses a range a parallel projects. In one of the projects I have a class that is the implementation of an interface. A problem I'm having though is that this class seems to be represented in two ways, both as a…
AndroidHustle
  • 1,794
  • 5
  • 24
  • 47
0
votes
0 answers

Configure Eclipse Java Build Path or classpath using user library or local jars

I created a user library from Eclipse / Java Build Path / Add Library / User Library. The project is based on Maven, but due to some issues with jar files from the local repo, I need to pull the correct jars from another place. I added the user…
tarekahf
  • 738
  • 1
  • 16
  • 42
0
votes
1 answer

Buildr: adding a path to the generated eclipse/idea files

I have a legacy java project that we have been moving to buildr/artifactory from ant/jars in svn. The primary code is in the default (src/main/java) folder, but we have a few external source paths, for various tests that we can't move into the…
liam
  • 3,830
  • 6
  • 32
  • 31
0
votes
0 answers

When i am traying to run Scenario in Cucumber with Runner class then test is and shows initializationError

java.lang.IllegalArgumentException: path must exist: C:\Users\monal\eclipse-workspace\MavenProject\src\test\resources\test.feature at io.cucumber.core.resource.PathScanner.findResourcesForPath(PathScanner.java:49) at…
0
votes
0 answers

Java Jar creation - package not in src folder

Today, I updated my maven project. As a result, any of my exported jars do not work anymore because for some reason the "app" package is now exported into the root directory of my jar, instead of the src directory. My buildpath has not changed. As…
Dahlin
  • 157
  • 1
  • 11
0
votes
0 answers

How to create a JAR file from a maven project which import scripts from another java project

I have created a project, project1. I have to use project2 (https://github.com/bhlangonijr/chesslib). I included the files of project2 that I need in my class of project1 which is using them as the following : import…
0
votes
1 answer

Importing a gradle project on Eclipse not loading .classpath

I'm exploring Gradle and quite new to build tools & Java in general. I was trying to open a gradle project in a new Eclipse workspace, but I need to give build paths manually each time I open a new project. The .classpath folder exists with the…
Hari
  • 3
  • 5
0
votes
1 answer

No JREs that are compatible with JavaSE-16

The error below frequently occurs whenever a new Java Project is created. I know how to fix this issue but is there a more permanent solution so that my JDK system library is pre-installed instead of the one provided? Both eclipse and the JDK are…
Abdullah
  • 23
  • 1
0
votes
0 answers

eclipse - default build path for new maven projects

How does eclipse decide which JRE/JDK to use for new maven projects? When I create a new maven project in eclipse I get 3 warnings about the build path. Build path specifies execution environment J2SE-1.5. There are no JREs installed in the…
theerrormagnet
  • 174
  • 2
  • 15
0
votes
0 answers

" Build path specifies execution environment JavaSE-16. There are no compatible JREs installed in the workspace"

Eclipse for coding, SceneBuilder(JavaFX) for designing and MySQL for managing the database I've been trying to build an OOP project for the university and I wanted to show my teacher what I've done( it wasn't finished). He tried helping me out but I…
0
votes
2 answers

Eclipse error: "Could not read maven project" for non-Maven project

I have a git Eclipse project that used to use Maven. I created a new Eclipse project on one computer, imported the source code, and successfully built it. I then committed and pushed my changes to GitHub. When I cloned the project on another…
Ellen Spertus
  • 6,576
  • 9
  • 50
  • 101
0
votes
0 answers

Eclipse says "package is not accesible", despite adding it to the classpath

I'm stuck on trying to import an external library into an existing Eclipse project. I've followed the steps in this video (hopefully not outdated), but I'm still getting error messages saying I need to re-create those classes within the src folder.…
Franz
  • 1
  • 1
0
votes
0 answers

Issues with Build Paths

So, as of right now, I'm currently in a Java Programming class that uses either Netbeans or Eclipse as their main methods of choice. I already chose Eclipse as my choice for coding, and most of the assignments have gone well up until now. As of…