BO XI 3.1 SDK and Eclipse: import cannot be resolved

I am preparing my Eclipse 3.4.1 installation to develop using the BO XI 3.1 SDK; I got some samples from the SAP Developer network, however, Eclipse always shows import errors like "The import com.crystaldecisions cannot be resolved"
I added the paths "C:\Program Files\Business Objects\common\4.0\java\lib" and "C:\Program Files\Business Objects\common\4.0\java\lib\external" to my project (rigt click -> Properties -> Java Build Path -> Libraries -> "Add external class folder" button) but I am still getting these errors.
I also tried Netbeans 6.5 but it shows similar errors: "package com.crystaldecisions.sdk does not exist".
It's a BO XI 3.1 server installation.
What am I doing wrong?
Thanks!

Hi Stefan,
Instead of adding the "Add external class folder" try out to add to your Java Build Libraries "Add External JARs"
When you click on this button you can select the path of all the jar files from your Business Objects installation directory.
E.g. C:\Program Files\Business Objects\common\4.0\java\lib"
and "C:\Program Files\Business Objects\common\4.0\java\lib\external"
Regards,
Anu

Similar Messages

  • Always getting 'import cannot be resolved' for IPrivate* imports

    Hi,
    Everytime I import a Web Dynpro DC from our NWDI I see 'import cannot be resolved' errors when I open for example the Component Controller implementation. An Organize Imports does not fix this. If I rightclick inside the code and select 'Show in Package Explorer' it jumps to the .java file for the implementation (within the gen_wdp folder). In that same tree I can see the IPrivate*.java files as well.
    I also tried Repairing and Rebuilding the project. All to no avail...
    Why is this happening and how can I resolve it?
    Kind regards,
    Pascal Willemsen

    If I open the generated Java files in gen_wdp I see loads of errors (all '...cannot be resolved...'), but the Tasks view contains no errors at all (answer to Armin).
    A development component build runs and seems to succeed without problems.
    It seems that the Web Dynpro's contain a circular dependency, which I think is the cause of the problem:
    1. wdThis in the Component Controller is an IPrivateComponent instance.
    2. IPrivateComponent extends IPublicComponent.
    3. IPublicComponent has a gen_delegate member which is an InternalComponent instance.
    4. InternalComponent implements IPrivateComponent.
    I guess NWDS doesn't know where to start...?

  • Import cannot be resolved for IPrivate* imports

    Hi All,
    I got the error "import cannot be resolved for IPrivate* imports'" when I import existing project. And then I close the project, copy files to gen_wdp folder again and open project according to the method in Thread
    Always getting 'import cannot be resolved' for IPrivate* imports.
    Then the problem resolved.
    After that I have done some modifications and rebuild it. However the same problem occurs again. I repeat close/open project again but it doesn't help. That's to say I cannot make any modifications to the project and build out any new EAR files.
    If anyone can help, I will appreciate it a lot.
    Xiao

    Hi Xiao,
    Is <b>ShineWay_ReClaimsView</b> a view in your component in this project ?
    If yes ensure that it doesn't have any errors. Then rebuild your project.
    If you in dc environment and this view is from other project (dc). Then ensure that the dc having this view is build (dc build) correctly.
    As abhilash said the gen_wdp files are generated and you shouldn't touch them. You will get more problems than solutions.
    Best Regards,
    <a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/ashwaniKrSharma&">Ashwani Kr Sharma</a>

  • Import cannot be resolved

    Hi All,
        Our NWDS always shows that certain import which generated by meta data cannot be found or resolved.
    For instance "import com.xx.sc_os_sale.dc_ws_styleinfo.comp.wdp.IPrivateStyleInfoComp;"
    I can find the code file in my local path
    "D:\Documents\01 WORK\03 Programming\cobest\dtc\0\DCs\xx.com\DC_WS_StyleInfo\_comp\gen_wdp\packages\com\xx\sc_os_sale\dc_ws_styleinfo\comp\wdp"
    And the "D:\Documents\01 WORK\03 Programming\xx\dtc\0\DCs\xx.com\DC_WS_StyleInfo\_comp\gen_wdp\packages\" has been add to the project as the Java Build Path automatically when the project was created,
    But the error is still there.
    If I build the project, no error would show in task and err log page. Also the CBS can build this project successfully. I'm totally mazed about it.
    Anyone can help me?
    Thanks,
    YiNing
    Edited by: YiNing Mao on Mar 11, 2008 11:55 AM

    Thanks, all. After close and reopen my project, the "cannot be resolved" problem is gone, but there's a new one.
    One of my web dynpro component has been expose as public of its DC, and another component from an other DC uses it as a used component, I keep being infomed of following error:
    1. The project was not built since its classpath is incomplete. Cannot find the class file for com.xx.sc_os_sale.dc_wsv_customer.model.Response_SC_OS_SALE_CustomerInfoViDocument_getCustomerList. Fix the classpath then try rebuilding this project.
    2. This compilation unit indirectly references the missing type com.xx.sc_os_sale.dc_wsv_customer.model.Response_SC_OS_SALE_CustomerInfoViDocument_getCustomerList (typically some required class file is referencing a type outside the classpath)
    I've tried to delete local project and reimport from DTR, but it doesn't help at all.
    Hope you can help me.
    YiNing
    Edited by: YiNing Mao on Mar 11, 2008 7:25 PM

  • [solved] Trouble installing android SDK and eclipse plugin

    Hi !
    Owner of an HTC hero, I would like to develop some apps for it. However, I have problems to install the android eclipse plugin on my archs (a 32 and a 64 bits) while it is working fine on my roommate's ubuntu...
    I'm following these instructions : http://developer.android.com/sdk/eclipse-adt.html
    At step 3, when I click OK in order to add the site, just nothing happens, the pop up stays displayed and I can still clic on the bottons, (but only "cancel" do something...) . I've tried to start eclipse from the console, but no output here
    Why do you think this happens ?
    I have also problem with the sdk tools :
    when I try to view the available packages il get :
    Failed to fetch URL https://dl-ssl.google.com/android/repos … sitory.xml, reason: HTTPS SSL error. You might want to force download through HTTP in the settings.
    (even if I ask to use HTTP insted of HTTPS)
    Have you already got this problem?
    Thanks,
    Fredszaq (from France, escuse english mistakes...)
    Last edited by fredszaq (2009-12-02 21:20:13)

    found the solution ! it seems to be a GTK problem in fact...
    http://groups.google.com/group/android- … 63a8d07cd9
    https://bugzilla.gnome.org/show_bug.cgi?id=598734
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=290395
    the major tip was to resize the windows when notings seems to happen ant to "clik" on the buttons with the enter key ...

  • Osmosys SDK and Eclipse Visual Editor

    Hello!
    Does someone know if Osmosys SDK 2.0 can use the embedded Visual Editor in Eclipse?
    Thanks in advance
    Alessandro

    I don't think it aims to be the best. It's not even close to working. You can do really simple things, and nothing more. And you can't first write the class by hand, and then switch over to the UI builder, and you aren't allowed to touch the code if you started in the UI builder. (This is how it was about a year ago).
    The free
    Eclipse should be very good at core features but also
    be a platform for plug-ins. If it's too good at
    everything it can't attract commersial initiatives.
    If this has worked there should be a better GUI
    builder for sale than the one you can get for free.
    But I don't know if there is really.I haven't seen any good ones for sale, but I've seen that borland will build the next generation of JBuilder on the Eclipse platform, so I think that they will sell their UI builder as a plugin.
    /Kaj

  • SDK and Eclipse - are they the way for me to go?

    Hi,
    I've done a bit of reading and would just like someone to either steer me in the right direction on this or flatly say "No - Go back, you'll only enter a world of pain, flee while you still can".
    We wish to distribute a thin reporting client to a call centre, approx. 250 concurrent users. BO is strong on the User Admin side which we like. InfoView which could default to a particular report could in theory satisfy our needs. The problem is we don't wish to bamboozle the users (not in any way saying CSR in a call centre wouldn't be savvy enough to not to break it) and want to limit their view and what they can then do in this to be developed report.
    InfoView will allow each of the users to login to BO.
    Using SDK can I then configure our users experience/view of InfoView and then in combination with Access Rights basically only allow them to perform a very limited number if functions.
    What I'm really keen on creating is basically a form/display where the top toolbar has entries for inputs (query criteries) and the Display then return the entries matching the input criteria. Prompts are there or there abouts but just look n feel a bit clunky - a dynamic report that shows the Master data per row in a table then when you click on an individual Master Record the table expands (or something like that) to display the Detailed information associated with that Master record. 
    Also, I'd like to configure the CMC so that all but 2 or 3 of the tabs are allowed for the Call Centre Admin person to view.
    I like the way SDK will allow us to rebrand the tool.
    Should I use SDK - is it the only option that'll satisfy most of our needs at this stage?
    Edited by: Edward Berwick on Feb 11, 2009 5:10 PM
    Edited by: Edward Berwick on Feb 11, 2009 5:12 PM

    Hi Ted,
    thanks for the response.
    I'm not a java developer and am kinda hesitant to go down the SDK path.
    I'm hoping to build the report in WEBI, make available the report through InfoView, but you're saying I can't in anyway meddle with the InfoView GUI so as to make it more user friendly. OK.
    I was hoping there'd be a way to create a html layer that would better present the data (when I say better - InfoView just does more than we want our user base to view - since it may only cause difficulties)
    Have a look at what we're trying to achieve - I'd love if you could share with me how you'd think I should go about delivering such a reporting tool on the back of InfoView functionality.
    [http://docs.google.com/Doc?docid=dfr8cvrq_94f67wn4ft&hl=en]
    Cheers, Ed
    Edited by: Edward Berwick on Feb 11, 2009 5:44 PM

  • Import cannot be resolved issue

    Hi
        I had installed a project package in my package manager. It has src.bnd bundle file which includes all my java classes. Eventhough i build the bundle (bundle is active in console also); the package in the bundle is not resolved. When i checked the referenced libraries in the project explorer; the bundle was not installed there automatically.
    Can any one say what is the issue ? How can i resolve it. Because each time i cannot manually add the JAR to the referenced libraries
    Thanks
    Veena

    Hi Veena,
    When any bundle deploys in felix console it resolves all its package import via taking reference of api shared through other bundles using export-package property set in bundle. Where as when you work on same bundle using any editor (for example CRXDE ) you will not get those export api support here and you have to manually add/configure to your application as we normally do for other java application (and if you are using any build tool like Maven then API dependencies should be resolved through adding those dependencies in pom.xml)
    I hope it clarifies your doubt. Let me know for more information.
    Thanks,
    Pawan

  • MSS - Import cannot be resolved

    Hello
    I am new to the NWDS in regards to the MSS package.
    I have loaded MSS in NWDI and I have created a project in NWDS for mss/cat/approval[sap.com]
    I am able to see the entire project structure. When I go into FcCatapprove component I get errors.
    I guess I need to add some jar files or a library but I have not been able to figure out which ones.
    These Imports it cannot find
    import com.sap.xss.hr.cat.approve.blc.wdp.IPrivateFcCatApprove;
    import com.sap.xss.hr.cat.approve.model.approval.CatsApproval;
    import com.sap.xss.hr.cat.approve.model.approval.Hrmss_Cat_Appr_Scenario;
    import com.sap.xss.hr.cat.approve.model.approval.Hrmss_Cat_Wd_Approval_Input;
    import com.sap.xss.hr.cat.approve.model.approval.Hrmss_Cat_Wd_Approval_Output;
    import com.sap.xss.hr.cat.approve.model.approval.Hrxss_Cat_Rfc_Cell_Value;
    I am using
    NWDS 7.0
    Portal NW 7.0 sp15
    java 1.4.2_19
    MSS 600
    Any Help in this area would be appreciated.
    Thank you,
    Sarah

    Hi,
    May be you forgot import the dependencies of the track.
    List of Dependencies:
    sap.com_SAP_JTECHS
    sap.com_SAP_BUILDT
    sap.com_SAP-JEE
    sap.com_SAPPCUI_GP
    Business packeage:
    sap.com_SAP_ESS
    sap.com_SAP_MSS
    you need to have all this packages in your track
    May be helpful for you.
    Cheers,
    Appu

  • Import org.mozilla.javascript.Context; !!ERROR This import cannot be resol.

    Hello to All,
    I am attempting to use an open source program for speech recognition and several "training" files for the program have a number of
    import org.mozilla.javascript.Context;imports that bring the error "This import cannot be resolved"
    I know for an import to work it must be part of the "package" or "API" from Sun.
    I am using javasdk1.5.0, Eclipse 3.1 and Ant.
    So, What do I have to do to actually "import the org.mozilla.javascript"????
    This must be a very simple answer but I have not had much understanding here.
    Thanks for the help!
    Chetanji
    Edited by: Chetanji on May 4, 2008 11:28 AM

    Thanks tschodt,
    That would have been the answer, except I did some more googling right after my question was asked and found that I needed the js.jar.
    I looked in the jsapi.jar and found it was already there.
    So I built it and much of the "red" disappeared from the project in Eclipse.
    I know now I must reorganize the project, as the imports are calling for files that cannot be found, that happen to be elsewhere or not in the build path.
    Bringing Unix/Linux OpenSource into Windows is usually tricky, but well worth the investment in time spent.
    I give you the Duke as you were correct and the only one to answer.
    Blessings,
    Chetanji

  • Import of Private View cannot be resolved

    I have a web dynpro component I wrote a while ago.  I just pulled it down from NWDI.  Created the project.  Build works great.  Even made changes and checked in and activiated.  All things work.
    Here's the trouble.  When I look at the Implementation tab on my DetailView my private view's import cannot be resolved.
    import spiritaero.com.cats.emp.wdp.IPrivateDetailView;
    Message says "The import spiritaero.com.cats.emp.wdp cannot be resolved"
    How do I fix this?
    Diane

    Diane,
    Some times, all the class files may not ge generated when you import the project into your NWDS. Reload + Rebuild the project. If still errors are there, close the project and open again. Hopefully it will generate all the classes and your problem will be solved.
    Regards,
    Sridhar

  • If I already have the android SDK and AVD installed from prior installation for eclipse do I have to

    If I already have the android SDK and AVD installed from prior installation for eclipse do I have to do it again for dreamweaver if I want to develop for android ?
    Also, if I'm developing for android, ipad, and iphone and I want them all to be the same can I do it by only making one site or I have to make a different site location for each?

    Inquire of whom?  Apple?  Seems to me your carrier is giving you the run-around.  They are the ones who provide the service, so they should be able to tell you the plan specifics.  Get on the phone again with them and insist on an answer.

  • How can I edit budgeted cost/unit in excel and then import into P6?

    I would like to edit resource assignements (budgeted cost/unit) month by month in an excel file, and then import it into P6. Is this possible?
    It seems that the resource assignments month by month cannot be exported to an excel file. Is there anyone who can help me find a solution to this problem?
    Thanks a lot.
    By the way, I foud I can use the reporting function to get the excel file with month by month resource assignment information and can edit the values, but I cannot then import the changes into P6.

    not sure if this helps at all, but..
    when you refer to importing units (or costs) by period, do you mean past financial period actual data or future bucket planning data ?
    if it's the former, you can select corresponding financial period fields (period actual units and/or cost) for export to excell. unfortunately not sure why they are marked (*) which means they cannot be modified and reimported just as easily.
    an update of the same fields in the P6 database can be performed through P6 Timesheets (or similar solutions) through SDK (and possibly API or Webservices).
    if it's the latter, i don't see how *"future bucket planning" or any other non-linear distribution* (which can be a bit too much and quite time consuming in p6), can be made easier in excell.
    i think predefined non-linear resource curves are a good compromise, but if that doesn't suit your needs, you can define *"custom resource curves"* of your own for resource assignments using the resource usage spreadsheet.
    you would need to enter values for budgeted units for several future intervals (depending on the timescale)
    e.g. for months 1 to 4, you manually set budgeted units to 1, 0, 2 and 4h respectively, resulting in a total of budgeted units for the assignment of 7h.
    if you then modify the 7h to 70h, the sistem will adjust the period values proportionally to the initial values, resulting 10, 0, 20 and 40 h respectively.
    best of luck

  • Eclipse and Apache I18N Taglib - how to fix "bundle cannot be resolved" msg

    I edit my jsp pages in Eclipse 3.1.2
    And I use Apache I18N Taglib.
    Everythink works fine, but I get annoying messages in problem list that "bundle cannot be resolved"
    a piece jsp code
    <%@ taglib uri="http://jakarta.apache.org/taglibs/i18n-1.0" prefix="i18n"%>
    <i18n:bundle baseName="my.test" id="bundle"/>
    <%     
    if (isFoo) {
         buttonValue = bundle.getString("AddButtonText");
    } else {
         buttonValue = bundle.getString("UpdateButtonText");
    %>This code works fine, but Eclipse think that code has errors.
    also I want do demonstate taglib config in web.xml
         <jsp-config>
              <taglib>
                   <taglib-uri>http://jakarta.apache.org/taglibs/i18n-1.0</taglib-uri>
                   <taglib-location>/WEB-INF/i18n.tld</taglib-location>
              </taglib>
         </jsp-config>

    Well, putting all that Java code into a JSP was a bad idea in the first place, just on general design principles. But you've done it in such a way that the result of compiling the JSP is malformed Java code. Frankly I would just throw it away and put the Java code into a servlet or some other Java class, where it belongs.
    But if you're really working in a place where nobody has learned anything since 2003, and you're forced to support that old junk, then I would point out that the error occurs before the place which generates this line:
    import java.util.*;You only need to look at two of the thousand lines of code you posted.

  • Installing Flex 4 SDK on Eclipse IDE

    Hi,
    I want to use Eclipse IDE with Flex 4 SDK but am unable to do so. I have looked at various blog posts & threads dealing with the same, most of them are obsolete(in the sense posted way back in 2005/07 with very old Eclipse releases) or I am not getting the desired results.
    The links I have referred to are below-
    http://arunbluebrain.wordpress.com/2008/12/05/flex-40-gumbo-tutorial-installing-flex-40-sd k-in-eclipse-ide-flash-player-10/
    http://www.darronschall.com/weblog/2005/08/setting-up-eclipse-for-flex.cfm
    http://www.roseindia.net/flex/compiling_flex_on_eclipse.shtml
    http://blog.wezside.co.za/2008/01/complete-starter-guide-to-develop-flash.html
    I have tried the trial of Adobe Flex Builder & it was really a painless job to get going. But right now I cannot afford a license of the same so I am looking at open source alternatives.
    Can anyone help the newbies like me by giving a brief walkthrough regarding installing Flex SDK on Eclipse, it would be of great help.
    Thanks in advance,
    Raghav

    I was disappointed with the kind of response from a forum like this to an amateur like me.
    I found a way around, decided not to use Eclipse at all with Flex SDK. Instead I am using Flash Develop which is a free IDE specific for Flash & Flex and integrating Flex SDK is pretty easy in that. Provided a very good feature set for a free software. Anyone stuck with this problem I suggest to go ahead with FlashDevelop instead of trying to figure out Eclipse. It is available for download here
    http://www.flashdevelop.org/wikidocs/index.php?title=Main_Page

Maybe you are looking for

  • HP Officejet Pro L7590 (L7555) has legal size flatbed but won't scan legal size documents - WHY?

    HP Officejet Pro L7590 (L7555) has legal size flatbed but won't scan legal size documents - WHY? Scanning to a Macbook Pro osx (10.6)

  • Which table contains net book value for Assets created with AS91.

    Which table contains net book value for Assets created with AS91. I have a problem locating where the net book value is stored in SAP.  Is it simply calculated and not stored in any one place?  I am trying to predict how SAP will calculate the net bo

  • Confirming Dimension problem

    Hi All, Please provide a solution if anyone has encountered this problem. I have two facts Fact 1, Fact 2 joined by confirming dimensions D1, D2,D3, D4 . According to my requirement I have to display in the report concat ( D1, D2) as column1 , F1.M1,

  • Question on Special Character RSKC

    Hey guys, I wonder if you guys can help, our load keep getting special character (line break) which display as square. And just got to know that nothing is stopping out clients from putting in chinese, german or even russian characters into the text

  • Nokia 97 Screen Freeze

    Can anyone assist?  My Nokia 97 - had it for 6 months now - has terrible reception, calls dropping out and when speaking the recieving person constantly says it is dropping in and out.  Apart from that I am now at a situation where I can turn my phon