Stubborn Build Path errors

I created a new Java project in Eclipse from an existing folder. I am getting errors like -
Unbound classpath variable: 'JRE_LIB_CORE' in project 'RFT'
Unbound classpath variable: 'JRE_LIB_GRAPHICS' in project 'RFT'
Unbound classpath variable: 'JRE_LIB_SERVER' in project 'RFT'
Unbound classpath variable: 'RATIONAL_FT_LIB' in project 'RFT' (I am using Rational Functional Tester API)
I tried removing these entries from Project Properties -> Java Build Path -> Libraries, and as a replacement, added JRE System Library. When I save these settings, the errors do not go away. And when I check project properties again, all my changes have been reverted back - the variables I had removed are back.
Can someone help?
Thanks

Best I can suggest is that that is entirely an eclispe problem.
So at a minimum it should be phrased that way (subject) and an eclipse forum would be the best place to ask.

Similar Messages

  • Java Build Path Errors in WD with NWDI

    Hi,
    i'm connected to a NWDI and imported a development configuration with a SC from there.
    When I create a new DC (type: Web Dynpro) within this SC, I receive a lot of errors that classes could not be resolved.
    In the projects properties, I can see that the Java Build Path has "JRE_LIB" added only. In local WD-projects (without any NWDI) there are a lot more Libraries added.
    I guess, this is the problem.
    Now the question is: How can I convince my project to use more libraries in its Build Path?
    in the used SC I've added initially the following dependencies according to a tutorial:
    DI BUILD TOOL 7.00
    SAP J2EE ENGINE 7.00
    SAP JAVA TECH SERVICES 7.00
    then, after receiving theses errors, I've added additionally (I guessed them):
    WEB DYNPRO APPLICATIONS 7.00
    WEB DYNPRO RUNTIME 7.00
    still the same...
    additional information: after cretaing the DC, I also receive the following warning/error:
    <i>Development Component Creation completed with some problems.
    Reason:
    Some used DCs are not available locally.
    You have to sync used DCs for this project.</i>
    kr, achim

    after copy&paste the missing entries from a .classpath-file of a local project to my NWDI-based projects .classpath file, the build errors are gone.
    but how to do that automatically?
    and still errors occur in the develop-config perspective:
    <i>ERROR: failed to resolve reference "sap.com/tc/..." for DC "....":Cannot find compartment of used component: sap.com:tc/wdp/metamodel/content</i>
    kr, achim

  • Web DynPro DC build path error

    Hi,
    This is the first time i'm working in WDP DC, as i had been using WDP Project previously. After i created the WDP DC, it didnt load the neccessary jar files (shld need more than 10, i think) automatically as in WDP Project. Is there a quick way to add those jar files to Java Build Path, as i don want to add one by one.

    Hi Raj/All,
    I have a few questions regarding WDP DC development:
    1. Can you list the jar files/directory to be added?
    2. Can i deployed and run WDP DC as if it is a standalone WDP application? If not, how to run and view it?
    3. After i was done with the development, when i tried to create archive (after rebuild), the following exception was shown:
    org.eclipse.core.internal.resources.ResourceException: Resource /LocalDevelopmentmatcodesap.com/gen/default/deploy already exists.
    How to solve it?

  • Eclipse build path entry is missing

    Hello, I have just installed Eclipse 3.3 on Ubuntu. When I click on File...New...Java Project, and name my project, the project appears on the left with a small red box indicating an error. The two errors indicated are:
    "The project cannot be built until build path errors are resolved"
    "Unbound classpath container: "Default System Library in project "Test""
    When I right click on the project and on properties, there is another error:
    "Build path entry is missing: org.eclipse.jdt.launching.JRE_CONTAINER"
    I tried to click on "Properties..."add library", and add the JRE system library, but when I click next the window does not move to the next screen. Anyone know how I can create a new project without these errors. Thanks.

    Do you have any JRE libraries configured? I think Eclipse detects one by default.
    You could try posting this on a Eclipse forum where you are likely to get a better response sooner.

  • Flex Builder 3 Error: Unable to load SWC

    Hi,
    I am trying to use the YahooMaps component (YahooMaps.swc) in
    my application. I have included it in the build path of my
    application.
    Steps followed:
    1. Right-click on the project and choose Properties or open
    the Project menu and choose Properties.
    2. In the project properties dialog, choose Flex Build Path.
    3. Select the Library path tab, and press the Add SWC...
    button.
    4. Selected the YahooMap.swc
    I still get "Unable to load SWC: YahooMap.swc". It is an AS
    3.0 component. Any help will be appreciated.
    Thanks
    Sumit

    Hi Peter,
    Thank you for your reply.
    I have followed the documentation on the site you provided.
    All I have done so far is:
    1. Create a new flex project in Flex Builder 3
    2. Once the project is created, I try to add the YahooMap.swc
    to my Flex build path.
    3. Once I add the YahooMap.swc, it fails with the error
    "Unable to load YahooMap.swc" in Flex Builder 3.
    4. FB3 does not recognize YahooMap when I try to import it in
    AS3.
    import com.yahoo.maps.api.YahooMap;
    I am not sure what I am doing wrong. Does it have to do
    something with the version Y! has used to build the YahooMap.swc
    and Flex Builder 3?
    Thanks
    Sumit

  • How do I add a jar file into the build path of the compiler?

    Hey,
    I'm trying to import a jar file into the build path of the compilation process, but it does not find the packages or the classes that are in it.
    I think I don't add it right...
              ArrayList<String> options=new ArrayList<String>();
              options.add("-d");
              options.add(targetDirectory);
              options.add("-classpath");
              for(String str:includeDirectory)
                   options.add(str);
              if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call());
                    ....and I've tried this way:
         public void setTargetDirectory(String targetDirectory) {
              this.targetDirectory = "-d " + targetDirectory;
         private void compile(Iterable<? extends JavaFileObject> compilationUnits) throws Exception {
              ArrayList<String> options = new ArrayList<String>();
              options.add(targetDirectory);
              String classPath="-cp ";// tried this also with "-classpath"
              for (String str : includeDirectory)
                   classPath+=str+":";
              options.add(classPath);
         if (!compiler.getTask(writer, fileManager, diagnostics, options, classes, compilationUnits).call())
              // throw new Exception("Compilation Error");
         }Thanks in advance,
    Adam.
    Edited by: Adam-Z. on Feb 24, 2010 5:41 AM
    Edited by: Adam-Z. on Feb 24, 2010 5:42 AM

    Thank you for your reply,
    Q: Are there .class files in that directory in that jar file? (the compiler doesn't ( can't )) look for directories, it can just look for specific files , and scan to get a list of all files matching certain criteria. So if there are no class files, it will say the package doesn't exist, even if there is a directory, possibly containing other files.yes there are class files in the jar, the tree structure:
    j2MeDataChunkGenerator_Plugin\(lots of class files)
    META-INF\manifest.mf
    and thats it.
    , your code will only work on windows because other platforms use a different path separator. You should use java.io.File.pathSeparator not explicit ';" when building your classpath. (this is unrelated to your problem, but you should correct it)will do, thanks.
    Q: Is that error in your post formatted by your own diagnostics? (we could possibly help you better if we didn't have to guess!!)I would not post my own error code, this text is generated by the compiler diagnostic.
    {code}
         System.err.println(" Error details: " + diagnostic.getMessage(null));
    {code}
    Q: Is line 3 of ImageCroper_Editor.java (sic) an import statement? (we could possibly help you better if we didn't have to guess!!)it is an import error... didn't the error message stated that it is an import problem? wired, I'm sure before it did. anyway it is an import error.
    Also you don't show us what the variable includeDirectory is in terms of type, and contents, that might be helpful. (we could possibly help you better if we didn't have to guess!!)It has only one String object: "D:\%Important Documents\WorkSpaces\PacMan\ApplicationManager\Plug-in\Data Chunk Designer.jar"
    the last file on the classpath list.
    Q: Have you proven this? that i did post, in this long line of text.
    Q: Is the compiler finding other classes (in other packages) in that same jar file?No. all the class files are in the jar, they all have entries that start with "j2MeDataChunkGenerator_Plugin\*.class", and since I get 47 errors I guess it does not load any other class.
    thank you for you comments, the problem with having these errors, is that I can't even get a piece of information where this error is coming from, only that it is an import loading error package not found, what does that mean? that the jar was not loaded in compilation(no error about this), that the jar is corrupted(no error about this), that the path is incorrect(it is correct I made sure), that there is no such package in the jar(There is), that the compiler does not load the package(does it even do that?), really I can't even guess why this happens, I've been at this on and of all day today, really annoying.
    Thanks,
    Adam.

  • Flash Builder 4.7 becomes unresponsive when trying to add 5-6 source folder under Flex build Path

    Hi,
    I am facing issue with Flash Builder 4.7.
    Whenever I am trying to open any mxml or .as file after project setup, flash Builder 4.7 becomes unresponsive without showing any error message or popup.
    At the initial project setup, I am able to open file but when I try adding 5-6 source folder under Flex build path->source path, it’s become unresponsive.
    Everything works fine in Flash builder 4.6, but I have license key only for flash builder 4.7 and want to use Flash Builder 4.7.
    Please help me to solve this issue.

    Fixed: In Project prefs: Flex Build path: added the similar swc folder called "local" from FB 4.6 eclipse/plugins directory and removed the 4.7 one.
    For some reason the 4.7  eclipse/plugins/com.adobe.flexbuilder.project_4.7.0.345990/dcradS wcs/4.5/locale folder has localisation folders in it and not swc's like in FB 4.6..

  • Build installer error, help

    Hi all,
    There's a problem need your help.
    I have a LV8.5 PDS. And I create a exe, when I want to create a installer, I cannot found any information is "additional installer". When I try to build it, error reports as below.
    error information:
    CDK_Build_Invoke.vi.ProxyCaller >> CDK_Build_Invoke.vi >> CDK_Engine_Main.vi >> CDK_Engine_PreBuild.vi >> CDK_Validate_DistParts.vi >> CDK_DistParts_GetInstalledProducts.vi >> NI_MDF.lvlib:MDFProdInfoList_Open.vi
    Before I reinstall my notebook, it worked.
    Thanks ahead.

    From the forum
    The build specification for your installer may have been corrupted. Try the following to correct this:
    Open up your project in the Project Explorer window and expand the Build Specifications tree.
    Right-click all of the applications (executables) build specifications that are included in your installer and select Build to force each one to rebuild.
    If all the executables build successfully, next right-click your installer's build specification and select Properties to change its configuration.
    In the Category pane on the left, navigate to the Source Files category.
    Find your executable (.exe) files on the right side and click it to select it. Press the Delete key or click the red X at the bottom of the window to remove the executable and its associated files from the build.
    Re-add the executable and its files to the same folder by selecting the executable in the Project View pane and the proper folder in the Destination View pane (on Windows systems, this is typically ProgramFilesFolder\[your product name]), and clicking the blue arrow button in the middle of the window.
    Repeat steps 5 and 6 for any other executables you have in your installer, as well as for any other files which show up in the ProgramFilesFolder path.
    Your installer should now build successfully. If that does not work, try making a new installer build specification which has all of the same settings as the build specification which does not work. If the new installer builds properly, you can keep it and delete the old, corrupted specification.

  • Eclipse nightmare: Trying to use Build Path without muddling up the project

    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.

    codinatrix wrote:
    I'm working on a team project for the first time ever, which is a little scary. We are using Subclipse. As soon as I downloaded the project, I noticed that I don't get any error warnings. Soon after, I noticed that Ctrl H fails to search the project.
    I thought this was all Subclipse's fault, and tried a clumsy workaround by copying the project. I had noticed that the package icon doesn't appear for the folders holding the source files and realized this is the problem. I guess Eclipse doesn't know which files are the source files. I would have thought it could tell because they end in .java, but that shows how little I know.
    After wrestling with this for hours, I figured out that I could use Build Path -> Use as source folder. For a split second, I thought I had finally solved the problem. But then all of a sudden tons of error messages showed up in every file. It turns out that when you use Build path -> Use as source folder, it moves your source folder and changes the names of the subfolders. So how on earth do I just tell Eclipse where my source files are without it moving everything around and screwing up the whole project?
    Please, somebody tell me what is going on before I pull all of my hair completely out.I have encountered similar issues with Eclipse and--though I'm not an expert--I have used Eclipse a lot.
    Can you tell us more about your project folder structure (as it exists in SVN)?
    Generally speaking, here's what I would do when start a new Eclipse project from SVN using Subclipse:
    1) Delete your current project and start clean.
    2) Open the SVN Repositories view in Eclipse
    3) Right-click the folder you are checking out as your project (for example, if your project is called ProjectFoobar and contains a trunk, right-click the trunk folder... don't check out all of the branches--use svn switch instead) and do a Checkout.
    4) Select 'Check out as a project in the workspace
    5) Give it a project name.
    6) 'Check out HEAD revision' (presumably)
    7) Depth: fully recursive
    8) Next
    9) Workspace location: make sure this the workspace you intend to create the project in
    8) Finish
    Hope that helps.
    -Thok
    Edited by: Thok on Apr 29, 2009 7:07 PM

  • Build path from string control

    Does anyone know why when I Use a string constant fed into a build path function my vi creates the file properly but when I change it to a control so that I can input a number to the file name I get error 1059 unexpected file type?
    Solved!
    Go to Solution.

    I'm trying to write to a file each time I update data. Everything was working fine until i realized that each time I stop excecution and start back up I lose all data if I replace it again so I wanted to be able to add a new number of my choosing each time to the file name but keep the full base name. I also wanted it to save in a base location while creating a new folder for each month and each day. If i a string control and concatenate it the error comes from the open/create/replace function but doesn't come up when I use a string constant.
    The first picture is my vi and the 2nd is the sub vi used to create the folder if it doesn't exist
    Attachments:
    File Saver 1.jpg ‏45 KB
    File Saver 2.jpg ‏58 KB

  • Cycle was detected in the build path of project

    Hi
    I was trying to create a Test application for MDB.
    Here from the webContent I call the service locator in the EJB folder and get the bean object. Using the object I need to put a message in the MQ.
    The onMessage method<present under EJB folder> picks up the message<which is a key> and then it has to refer the value in the Map which is under the ../WebContent/Javasource/..
    But when I try to complile the project it is giving a error stating that A cycle was detected in the build path of project: MDBTestEJB.
    How do I solve this ?? Please help ?

    The fix for this - regardless of IDE - is to use a
    bit of common sense, and good old-fashioned logic
    (remember that?). You've obviously got (at least) 2
    things that are dependent on each other, which - if
    you remember the Chicken and Egg problem* - can't
    possibly work. Work it out for yourself, you're
    writing software, after all. If A needs B to do some
    work but can't because B needs A first, you've got
    problems
    * sensible "it was the egg. Something
    not-quite-like-a-chicken-but-close mated with
    something-else-not-quite-like-a-chicken, and produced
    an egg that eventually hatched into a chicken"
    notwithstandingOK georgemc, I allowed you to motivate me to look for a better fix. I think I came up with a solution but I'd like to see if you, or anyone else, agrees with it.
    First let me say that I'm using a persistence layer, which I've never done before, and with cardinality annotations different classes need to reference each other cyclically.
    My problem was that I had class A in project 1 that depended on class B in project 2, but class B (project 2) also depended on class A (project 1). This meant that I had project 2 on the project 1 build path and vice versa; which is why I was getting the error.
    After your post I started to think about it and it seems that my original solution didn't do a very good job of utilizing the extensibility that Java's OO gives us. My new solution is to remove any reference of class A that is in class B and also remove project 1 from the project 2 build path. Then extend class B into class ChildOf_B in project 1 and insert the references to class A in the new child class. I of course keep project 2 on the project 1 build path.
    I've since told eclipse to throw an error for build path cycles instead of a warning and I no longer have any problems.

  • Java build path as appose to j2ee depenencies ?

    if i understand right j2ee depen. basicly means one is in another's build path and has to be deployed under the same war ?
    another thing , if i placed one java application in a j2ee project build path why do i have put the same jar in both of 'em ? wil it be deployed twice ?

    after copy&paste the missing entries from a .classpath-file of a local project to my NWDI-based projects .classpath file, the build errors are gone.
    but how to do that automatically?
    and still errors occur in the develop-config perspective:
    <i>ERROR: failed to resolve reference "sap.com/tc/..." for DC "....":Cannot find compartment of used component: sap.com:tc/wdp/metamodel/content</i>
    kr, achim

  • Class path Error urgent Plz

    Hi Guys,
    I was trying to write an WD application to check connector connectivity in EP, I have included these jar files in class path "com.sap.portal.ivs.connectorservice_api.jar" and "GenericConnector.jar".
    The codes are like
    IConnection connection = null;
    IConnectorService cs = (IConnectorService) PortalRuntime.getRuntimeResources().getService(IConnectorService.KEY);
    IConnectorGatewayService cgs = cs.getIConnectorGatewayService();
    connection = cgs.getconnection(Alias,request)
    but as soon as I write this last line getconnection() I get error which is "Compilation unit indirectly references the missing type com.sap.portal.services.api.connectorgateway.IConnectorGatewayService(typically some required class file is referencing a type outside the class path)"
    and this given below error comes when I build the project.
    "The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.portal.services.api.connectorgateway.IConnectorGatewayService. Fix the classpath then try rebuilding this project."
    can any one please tell me how can I fix this problem.
    Thanks in advance
    Best Regards
    Yasir Noman
    Message was edited by: Yasir Noman

    Hi,
    I am facing the problem of class path errors.
    my error is :
    *Error:   Missing required library: 'C:Program Files/SAP/IDE/IDE70/eclipse/plugins/com.sap.security2.0.0/lib/com.sap.security.api.jar'.*_
    And when I checkd on the program file \ lib folder there is .jar file.
    And the second error is
    Error:  The project was not built due to classpath errors (incomplete or involved in cycle).
    I tried to rebuild it and also repair it with project structure and classpath. so that it can find the missing libraries.
    I checked it out in the properties of the project in Java Build path it is showing an error of  build path entry is missing
    Please can anyone help on this error.
    I am stuck on this error for past a long time.
    Please Reply asap.

  • Eclipse compile and build path

    Hi I'm using Eclipse to build a web application.
    Java 5, Mac OS X Leopard, Eclipse j2ee build 3.3.
    In my web application I've defined a servlet FooServlet that only handles requests where the url is http://localhost:8080/foo. No other servlet is mapped to this url in the deployment descriptor. The problem I'm having is that FooServlet is not on the build path, but the application runs as though it is. That is, I should be seeing a 404 error when I make a get request for this url and instead I am seeing a page produced by this servlet. I've checked the properties menu of the project and inspected the various areas of the build path, variables, external jars, libraries, etc. It's not there. I've checked the shared and common lib folders of Tomcat. Not there.
    It's voodoo. I'm stumped on this one and I really appreciate any help. Thanks in advance.

    where your web application is deployed? i.e. from where tomcat takes your web.xml, classes, jars, html's and jsp's?

  • Unsupporte​d prim – Build Path

    Hello:
    I have LabView 7.1 with the pocket pc 2003 module installed on a laptop. I also have a panel pc with a pcmcia slot, as well as a NI PCMCIA-CAN/2 card. I have already established communication between the laptop and the pocket pc using ActiveSync. Additionally, I have already installed the drivers for the CAN card into the pocket pc.
    Now I would like to run a simple Labview .exe to confirm I can actually communicate with my CAN bus. I don’t care what I see, just as long as I see something that proves the pocket pc can communicate with CAN.
    As I am not experienced with LabView, I would think the easiest way to do this is to use an example VI. I opened labview, and selected pocket pc as the target. Then I clicked on “Open -> Example.” I selected “CAN Receive.VI” as the example. Then in order to build the .exe file, I clicked on “Tools -> Build for PDA.” In the ensuing window that popped up, I clicked “Build.” During the saving progress, I received 3 errors in succession. They are:
    Unsupported prim – Build Path
    Unsupported node – PropNodeMeth, 94852
    Unsupported node – PropNodeMeth, 5184
    Are these errors due to this example not being available for the PDA module? If not, how do I fix this problem? If so, then is there another example VI I can build an .exe file for my pocket pc that you would recommend to accomplish my goal?
    Your help is greatly appreciated.

    Duplicate post
    Message Edited by _Belle on 04-25-2006 12:22 PM
    Ebele O.
    National Instruments

Maybe you are looking for