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
1
vote
0 answers

More than one Scala library found in the build path

I am using mac OS, spark 3.0.0 and Scala. More than one Scala compiler latest 2.12 bundle (dynamic). However, when I ran my Scala code, I am getting the following error: Using Spark's default log4j profile:…
abe
  • 31
  • 1
1
vote
0 answers

Adding user library in project's build path

Is adding User Library in the project's build path same as adding jar in the build path? If not what is difference between them and when to use what?
Leo
  • 5,017
  • 6
  • 32
  • 55
1
vote
1 answer

Native library build path variables in Eclipse

I have shared eclipse projects that use a build path variable as a relative location for jar dependencies. So in the build path they appear as VARIABLENAME/subdirectory/blah.jar. All developers have to do is define one variable in their workspace…
insipid
  • 3,238
  • 3
  • 26
  • 38
1
vote
1 answer

Does gradle project with dependency to another project get libraries?

I have two projects: ProjectA makes use of ProjectB ProjectA: -- Settings.graddle: include ':projectB' -- build.gradle: dependencies { compile project(':projectB') } ProjectB: -- build.gradle: dependencies { compile group:…
Mayday
  • 4,680
  • 5
  • 24
  • 58
1
vote
2 answers

Eclipse: Why can a library-jar of ProjectA access a library-jar of ProjectB even though the library-jar isn't marked as exported?

I have two two projects, let's call them project A and B. Project A uses Project B as a library-project and project B has a "library.jar". This library is not exported by project B. However a third party library used by Project A can use the…
Mazen
  • 203
  • 2
  • 15
1
vote
2 answers

How to set build path configuration in spring boot webapp

I am in new to spring boot. I have created a web app using spring boot. My application require some properties file to do the processing. In eclipse What I do i set the path on Run configuration like bellow. Now When I run the application I gets…
Varun
  • 4,342
  • 19
  • 84
  • 119
1
vote
1 answer

import projects in build path for web service: server or client?

I have created a little example app to test out the CN1 web service functionalities. Following the web service tutorial from CN1 (https://www.codenameone.com/how-do-i---access-remote-webservices-perform-operations-on-the-server.html), I have my…
Lequi
  • 539
  • 2
  • 13
1
vote
1 answer

How to set the build path format?

At present the working folders for our builds on TFS 2017 use the following format:- {Agent.HomeDirectory}_work{BuildDefinitionId} So our builds are put in folders like this:- D:\buildagent_work\42 Is there any way in which I can change the format…
1
vote
1 answer

How to config maven pom.xml when my don't want src/test/java present in my eclipse java build path source category when update project?

I don't need src/test/java folder in my maven project, so I delete it. But when I update the project in eclipse, I checked the build path, it shows that the src/test/java source folder is missing. I wonder how to configure the pom is solve this…
Linhoo
  • 33
  • 7
1
vote
2 answers

Tomcat 8 throws error : 'A child container failed during start'

I have been working on a code on my computer and imported that code on other machine. But when I deploy code and run it on the other machine, tomcat doesn't start properly and throws error. web.xml file:
Abhijeet Panwar
  • 1,837
  • 3
  • 26
  • 48
1
vote
2 answers

javax.servlet.http.HttpServlet was not found even if maven dependency exists

I have an issue with my Eclipse Neon configuration on my maven project. The issue that appears many times is the following The superclass "java.servlet.http.HttpServlet" was not found on the java build path. I know there were few posts about that…
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63
1
vote
2 answers

should I exclude source folder from build path (in Eclipse)

I have some java projects that use external files as input. I usually store the files in the package directory under a folder which i name "resources". My question now is: should i exclude these folders from the build path? I though that they have…
dcts
  • 1,479
  • 15
  • 34
1
vote
0 answers

IntelliJ not adding Java as a depend

I made a new project in IntelliJ and started coding. I noticed that it did not recognize these imports: import java.io.File; import java.io.IOException; These are Java based imports. I cant tell if it just does not recognize Java imports or I…
1
vote
2 answers

Different jar file in classpath and buildpath in Eclipse

I added Lombok 1.12 jar file in classpath while I gave Lombok 1.16 jar file in libraries (while configuring build path in eclipse). Eclipse could not recognise some annotations of lombok like @Builder ( was giving compiler error). (Also @Builder was…
Ashley
  • 441
  • 2
  • 8
  • 27
1
vote
2 answers

Change build destination without touching csproj file

I have added a 3rd party project to my solution, which i have forked from github. I'll do often changes in this repo which i pull-request back to orig repository. How can i modify build destination of this project, building to ..\..\bin\Debug…
had
  • 2,068
  • 1
  • 13
  • 10