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

maven dependencies to a parent project build path in eclipse

I am using m2e. So I have two projects. When I right click on them both have maven enabled. So one of the projects is a parent project so it has many sub packages each sub package is correctly src\target, but not the parent itself. I have pom.xml…
Sara
  • 2,417
  • 7
  • 35
  • 52
0
votes
1 answer

Android eclipse - android.jar duplicated in libs folder and Referenced Libraries

I am using the android SDK with eclipse. I am sharing my project using git with other team members. Originally the android.jar file in 'Android Dependencies' is referenced absolutely (i.e. relative to my home directory). To make it relative tot he…
user973758
  • 707
  • 1
  • 9
  • 22
0
votes
2 answers

handling main and test without "The declared package com.pkgY does not match the expected package dirX.src.main.java.com.pkgY" in Eclipse

Every Java project I download has main and test folders. Both contain java and resources sub-folders. Some projects even add more levels: for instance dir1, dir2, dir3 and etc in the root, where each dirX contains src with main and test subfolders.…
Val
  • 1
  • 8
  • 40
  • 64
0
votes
1 answer

How to get eclipse to use jars installed on application server

Hi I use eclipse and geronimo application server 2.1 I have installed some Jars that were held in the lib folder of the EAR to the server and deleted them from the EAR. But eclipse will not recognise that they exist. I have added the dependancies as…
Mark W
  • 5,824
  • 15
  • 59
  • 97
0
votes
2 answers

java.lang.NoClassDefFoundError: org/htmlparser/util/ParserException

I'm trying to make this http://htmlparser.sourceforge.net/ code run in eclipse. There instructions are simply "To use the library, you will need to add either the htmllexer.jar or htmlparser.jar to your classpath when compiling and running." I've…
itgiawa
  • 1,616
  • 4
  • 16
  • 28
0
votes
1 answer

Possible Android project depends of other (non library) Android project?

I have apps A and B. I want one to use some methods A in B. Is that possible? I tried adding project A to the build path of B. Compiler is OK with that, but I get runtime NoClassDefFoundError (for the first used class from project A). I'm making…
User
  • 31,811
  • 40
  • 131
  • 232
0
votes
2 answers

Technical name for path elements

You hear terms like "classpath", "build path", etc. all the time, referencing a list of directories that something will look in for a particular reason. Does anybody know the technical name for each item in these paths? Path Element?!?! Yes - this…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
0
votes
1 answer

Axis2 issue with version of Axis Kernel - how to reference another project from your java project

1) I have old project that I need to modify. I need to add new web service. And I am having issues with some jar files. I have created new service (Axis2), then I used Eclipse wizard to create Web Service Client code. Everything looks fine, except…
bobetko
  • 5,019
  • 14
  • 58
  • 85
-1
votes
2 answers

Eclipse Java Build Path Jar Library classes not found even if available in jar

Recently I wanted to add the nebula shelf to my eclipse plugin. Therefore I added the org.eclipse.nebula.widgets.pshelf.source_1.1.0.201701302244.jar the build path of my eclipse project. Sadly eclipse can't find the class files inside of the jar,…
user2939094
  • 1
  • 1
  • 1
-1
votes
1 answer

Running program(s) - nothing happens

I've been having problems running a project, and others in Eclipse. I was mainly developing plugins before this, so it's been a while since I've done a stand-alone project. Maybe I'm just forgetting about something? =/ When I "run as" "java…
Turtled
  • 11
  • 4
-1
votes
1 answer

Derby embedded driver - "Class not found" after exporting to application to JAR

I am trying to get Java working with Apache Derby embedded database, and it works fine in eclipse but gives the error java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver when exported to a Jar file and run. I included the Derby…
Art Hur
  • 3
  • 3
-1
votes
1 answer

Maven and java build path

I got recently a new laptop at work, and had to install everything new. Eclipse, Maven, SourceTree and import our git-project etc. But I got many problems to start working.. Here are screenshots of few problems. I think it has something to do with…
ZelelB
  • 1,836
  • 7
  • 45
  • 71
-1
votes
1 answer

ClassNotFoundException using apache-common-lang3

I am using Elasticsearch Jest client to write my own client-app. i keep getting this java.lang.ClassNotFoundException: org.apache.commons.lang3.StringUtils even though i've included all JARs in the build pass. actions taken: Disabled maven and…
Eitan Vesely
  • 125
  • 3
  • 16
-1
votes
1 answer

start up a thread using jersey library?

So I'm using the jersey libary for my servlet and I need to have a background thread to run on the server. I did some research and found this answer: Background Thread for a Tomcat servlet app But the problem is that this answer uses a…
-1
votes
1 answer

Which jar is missing?

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.hadoop.conf.Configuration.(Configuration.java:169) at…
1 2 3
27
28