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

Similar Messages

  • Cant specify the Java Build Path in the Web Module Project

    hi,
    I have a problem while specify  the project dependencies in the Web Module Project.While opening the properties of the web module project i cant choose the Java Build Path.The only two options i have are design root path and web service consistency check builder.Does anybody know why its like that?do i hav to reinstall the SAP developer studio?
    With regards,
    Jaisamma Varghese

    Hi Jaisamma,
    I just tested this, and for me it works as expected, within all explorer/navigator views.
    Before reinstalling NWDS, check if the project itself may have some problem. Just create a new clean web module project and right-click on the project and try to access the BuildPath properties now. If it works, try to set up your project content again within this new project. Otherwise reinstalling NWDS may help.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • "no ocijdbc11 in java.library.path" error when connecting a TNS database co

    Hi
    "no ocijdbc11 in java.library.path" error when connecting a TNS database connection
    I have the same problem 'error code' when testing the connection to a database although I have an APEX db that connects without a problem.
    I have re downloaded jre & SQL Developer just to ensure all files are where they should be with no luck.
    I've also tried most of the suggestions in various threads.
    Does anyone know what exactly causes this error?
    eg; should I be looking for a file called 'ocijdbc11' & put it into the 'java.library.path' path?
    Can anyone explain to a newbie at db connections what I should do?
    I'm using the 'thin' client as the checkbox is clear & I don't know what path to enter into the correct file to make this work??
    This is & needs to connect as a TNS connection & was working fine until recently, the only change I can think of is a move of files from the 'C' drive but I thought redownloading SQL Developer would slove this.
    Thanks

    When you reinstalled SQL Developer, did you install into a new directory (ie rename or delete the old directory first)?
    I don't know if system setup contains directory references (which might be invalid after moving the location of SQL Developer). Does renaming your system2.1.1.64.45 directory (in C:\Documents and Settings\username\Application Data\SQL Developer) help? Note that your connections are in the connections.xml file in the o.jdeveloper.db.connection.11.1.1.2.36.55.30 subdirectory of system2.1.1.64.45 - you will either need to export connections before renaming and then import again after or copy this file to test if you can connect.
    Finally, the TNS Names directory preference is just a way of telling SQL Developer where to look for the tnsnames.ora file, rather than just assuming it will pick the right one. If you go to create a new connection, do you get the right list of TNS aliases? If not, then set this preference to the directory where the right tnsnames.ora file lives.
    theFurryOne

  • 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.

  • Path, classpath, java build path???

    I am happy with what path and classpath does but what is java build path for? could someone point me in the direction of where I can find more info?

    cool but the IDE also had a place where you could set the classpath. so is the java build path just like an extra way of setting up classes for different projects where the classpath in the IDE is used by all projects?

  • 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?

  • Wipes out classes and jars in Java Build Path

    Hello!
    All the jar and class files under Library tab gets cleared when I repair my DC project. But when I repair normal projects it does not wipe out  the jars or classes in the Library. Can someone please help me?
    Thanks
    Raj

    Hi Raj,
    The Java build path of a DC-project is based on the definitions in de DC-dependecies (shown in .dcdef file).
    Everytime you repair or build the  DC the build path will be updated into the .project file based on the .dcdef file.
    See the online documentaion for how to add libraries to the DC dependecies.
    Hope this helps.
    Regrads,
    Alain.

  • 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

  • Windows classpath vs java.class.path error in QuickTime based applet

    Hello
    I've spent days reading and searching the internet, and I'm still stumped why some Windows installations are not able to run my QuickTime for Java based applet even though QuickTime is installed (the specific error is: java.lang.NoClassDefFoundError: quicktime/QTException). I have some additional details and a question that might spur someone to an insightful nudge.
    On a Windows system that fails:
    echo %classpath%
    .;C:\Program Files\QuickTime\QTSystem\QTJava.zipWhich is where QTJava.zip is found on the (faulty?) system, but java.class.path is just:
    java.class.path = C:\PROGRA~1\Java\jre6\classes
    Of the dumped system properties, only java.library.path makes any mention of the QTSystem folder (or any other QT or QuickTime related items).
    java.library.path = C:\Program Files\Safari;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\PROGRA~1\Java\jre6\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\
    I ran across one thread (elsewhere) where the user was having problems with loading some classes from a complex JAR environment, and a solution was to write a custom class loader. After doing so, the user got the same error "java.lang.NoClassDefFoundError: quicktime/QTException" that was resolved by extending the custom class loader to include .zip files. I'm not sure if the solution is relevant, or if he simply broke something in his custom class loader that would have worked otherwise. I've not written a custom class loader and not sure where to begin, so before I ventured down that path I was hoping someone might shed some light as to if this is a dead end or potential solution. This is a signed applet (QuickTime now requires it, even if you are only playing files of the same server) and it does work on several Windows machines and all tested Macs.
    Thank you,
    Deron
    output to Java Console with level 5 tracing enabled
    basic: Joining applet thread ...
    basic: Joined applet thread ...
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@750159, refcount=2
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@750159, refcount=1
    basic: Done ...
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressListener@3a9bba
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: completed perf rollup
    network: Cache entry not found [url: http://www.equushd.com/quicktime/QTException.class, version: null]
    network: Connecting http://www.equushd.com/quicktime/QTException.class with proxy=DIRECT
    network: Connecting socket://www.equushd.com:80 with proxy=DIRECT
    java.lang.NoClassDefFoundError: quicktime/QTException
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: quicktime.QTException
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 10 more
    basic: Exception: java.lang.NoClassDefFoundError: quicktime/QTException
    Ignored exception: java.lang.NoClassDefFoundError: quicktime/QTException

    Something is wrong with the library.
    Staring at java code will not help you figure that out.
    Maybe it isn't intended to be loaded in java but instead it loads java itself?
    If not then write a C/C++ basic app that links that dll in and see if you can at least get it to start.

  • No muxer in java.library.path error

    I get this when I try to run server6.0 on win98. can someone help me understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

    Ramesh & Kumar,
    I got the same error when I tried to run WL Server 6.1
    on my Windows 98. Here is the complete trace. Is this
    error something that can be ignored because it sounds
    like it is something just for performance.
    <Nov 21, 2001 1:57:21 PM EST> <Error> <Performance Pack> <Unable to load perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at weblogic.socket.SocketMuxer.makeTheMuxer(SocketMuxer.java:128)
    at weblogic.socket.SocketMuxer.getMuxer(SocketMuxer.java:83)
    at weblogic.t3.srvr.ListenThread.run(ListenThread.java:232)
    >
    <Nov 21, 2001 1:57:22 PM EST> <Notice> <WebLogicServer> <Started WebLogic Admin
    Server "petstoreServer" for domain "petstore" running in Production Mode>
    Looks like the petstore application is working...inspite of the
    above error message.
    Thanks,
    Balaji.
    Kumar Allamraju <[email protected]> wrote:
    It appears the following stack trace is incomplete.
    I can't believe the stack trace is originated from PosixSocketMuxer.
    posix is only for unix platform.
    In anycase before loading a performance pack we check the OS and
    based on that we will load the appropriate dll/shared library.
    AFAIK, performance pack is not certified on 98.
    That's why it's failing.
    Kumar
    Ramesh wrote:
    I get this when I try to run server6.0 on win98. can someone helpme understand what is wrong?
    Thanks!
    <Nov 17, 2001 4:17:16 PM CST> <Error> <Performance Pack> <Unable toload perform
    ance pack, using Java I/O.
    java.lang.UnsatisfiedLinkError: no muxer in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1312)
    at java.lang.Runtime.loadLibrary0(Runtime.java:749)
    at java.lang.System.loadLibrary(System.java:820)
    at weblogic.socket.PosixSocketMuxer.<init>(PosixSocketMuxer.java:90)
    at java.lang.Class.newInstance0(Native Method)

  • Weird java library path error

    I have the so file in the path and the file name is spelled correctly. Java still complains that the so file is not in the java.library.path. I used System.loadLibrary("Java_xDVDFSReader"). Is it possible that my so file is messed up? I included the gcc command I used to make it. I'm not familar w/ gcc so I'm not sure if the error comes from a "messed up" so file or not. Any suggestions? TIA
    [ttran@localhost Java-Library-Path]$ java FindJavaLibraryPath
    Library path: /usr/java/j2sdk1.4.2_02/jre/lib/i386/client:/usr/java/j2sdk1.4.2_02/jre/lib/i386:/usr/java/j2sdk1.4.2_02/jre/../lib/i386:/home/ttran/projects/Java_xDVDFSReader/final/
    [ttran@localhost Java-Library-Path]$ cd ../Java_xDVDFSReader/final/
    [ttran@localhost final]$ ls
    C-Lib Java_xDVDFSReader.so xDVDFSReader.class xDVDFSReader.java xDVDFSReader.java~
    [ttran@localhost final]$ pwd
    /home/ttran/projects/Java_xDVDFSReader/final
    [ttran@localhost final]$ java xDVDFSReader
    Exception in thread "main" java.lang.UnsatisfiedLinkError: no Java_xDVDFSReader.so in java.library.path
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491)
    at java.lang.Runtime.loadLibrary0(Runtime.java:788)
    at java.lang.System.loadLibrary(System.java:834)
    at xDVDFSReader.<clinit>(xDVDFSReader.java:15)
    [ttran@localhost final]$ cd C-Lib/
    [ttran@localhost C-Lib]$ make
    gcc -o ../Java_xDVDFSReader.so -shared -Wl,-soname,Java_xDVDFSReader.so -I/usr/java/j2sdk1.4.2_02/include -I/usr/java/j2sdk1.4.2_02/include/linux Java_xDVDFSReader.c -static -lc

    This thread contains the answer:
    http://forum.java.sun.com/thread.jsp?thread=298006&forum=54&message=1178476
    It's stupid to have to put "lib" infront of a so file. Whose fault is it? UNIX or Java ;)

  • Can't add jsf doc to Java Build Path of Eclipse

    hi all.
    I don't know why i can't add java document path to jsf-api.jar in eclipse , if i add it and close the settings dialog , then back , i'll see it is empty (as i've not done anything yet ), although that Validate path say ok . it' no problem with other document such as rt.jar or javaee.jar .

    I've looked at that thread, and it does look like the same problem. I've also looked at this thread which seems the same: http://forums.adobe.com/message/4025125#4025125
    That thread also brings up a good point with computer accounts; like it says there, mine is also mobile managed. I'm waiting to talk to IT and see if that's the issue - although again, everything was working fine earlier and my account permissions haven't changed since then, so that might not be it.

  • No vdc in java.library.path error in performance reporting

    Has anyone ran into this issue? This is the error message I'm currently receiving while looking at the performance link in OEM reports. Everything else seems to work ok. Anyone know what file this is located in? Or where I'm going wrong?
    [Thread-160][2003-3-7:14:28:1:271] VtdService.Connect
    [Thread-160][2003-3-7:14:28:1:271] VtdService.getDataGatherer : [this=oracle.sysman.vtd.VtdService@44a5ec, m_dg=null, connect=true] initializing VtdDataGatherer for this service...
    [Thread-160][2003-3-7:14:28:1:271] VtdDataGatherer.&lt;init&gt;
    [Thread-160][2003-3-7:14:28:1:271] VtdcDataGatherer.initializeDirectConnect
    [Thread-160][2003-3-7:14:28:1:272] VtdException.&lt;init&gt;: Unable to locate the library necessary to support direct connect monitoring.
    java.lang.UnsatisfiedLinkError: no vdc in java.library.path

    Has anyone ran into this issue? This is the error message I'm currently receiving while looking at the performance link in OEM reports. Everything else seems to work ok. Anyone know what file this is located in? Or where I'm going wrong?
    [Thread-160][2003-3-7:14:28:1:271] VtdService.Connect
    [Thread-160][2003-3-7:14:28:1:271] VtdService.getDataGatherer : [this=oracle.sysman.vtd.VtdService@44a5ec, m_dg=null, connect=true] initializing VtdDataGatherer for this service...
    [Thread-160][2003-3-7:14:28:1:271] VtdDataGatherer.&lt;init&gt;
    [Thread-160][2003-3-7:14:28:1:271] VtdcDataGatherer.initializeDirectConnect
    [Thread-160][2003-3-7:14:28:1:272] VtdException.&lt;init&gt;: Unable to locate the library necessary to support direct connect monitoring.
    java.lang.UnsatisfiedLinkError: no vdc in java.library.path

  • Eclipse 3.1.2 Bundle JBoss-IDE1.6 -  Java Build Path issue

    I set test/WEB-INF/classes as project output folder , why I can not find
    "WEB-INF/classes" in Eclipse "Package Explorer'. is it normal or issue?
    Thanks ahead!

    You don't need to know about the /classes folder. The classes from the Javasource will be compiled automatically into this folder.
    If you really want to see it, use the Navigator view instead, or setup it in the filters of the Package Explorer.

  • 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.

Maybe you are looking for

  • Hyphens and spaces in contact numbers

    I Am in India I got my iphone 5 and 6 from USA . The contact numbers and dialled numbers are automatically getting hyphens and spaces. Tried changing region format to India  and also in icloud but no use. It is being a little annoying as I am not use

  • How can I store a word file in database and other one download this file

    My dears: I want to upload a word file at my form then store in database and other one user want to download this file I Use developer 10g R2 Database 1og thanks more

  • Sub-Contracting Vendor

    Could a normal vendor (supplying material / services)  be a Subcontracting vendor ? i yes , then how? are there any settings?

  • Crystal reports server 2008 VI questions

    I aplogixze if I am asking many questions in the same thread. If so please let me know. and I'll create seperate threads. Questions with Crystal reports server 2008 VI 1. In my current VS2005 web application with CR 2008 developer I have done the fol

  • HTTP PL/SQL gateway intermediate output

    Hi, I'm trying to use the HTTP PL/SQL gateway to serve up simple pages generated usin PL/SQL. (Stuff like OWA_UTIL & HTP packages). I have one page/PL/SQL function which is extremely long running, so I want to send intermediate outputs to the users b