Indirect reference to IConnectorGatewayService  (JCA)

Hi,
I was writing some code to establish connectivity to SAP R/3 using JCA. I am getting the following error while compiling the code in the developer studio. The error message is :
<i>The 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 classpath)      </i>.
Following is the code I am using to get the connection to R/3:
IConnectorGatewayService cgService = (IConnectorGatewayService)PortalRuntime.getRuntimeResources().getService(IConnectorGatewayService.KEY);
I had made sure that I had put the following classes in the classpath with all necessary import statements :
a) com.sap.portal.ivs.connectorservice_api.jar
b) connector.jar
c) GenericConnector.jar
d) jta.jar
e) activation.jar
I know the root cause of this problem because, com.sapportals.portal.ivs.cg.IConnectorGatewayService would inturn extend <i>IService </i>and <i>com.sap.portal.services.api.connectorgateway.IConnectorGatewayService</i>   and I am not able to find which Jar do I need to put in the classpath of studio and where do I get that.
I would really appreciate if somebody could help me out.
Thanks
Mahender

Hi Mahender,
See:
JCA classes missing
Hope that helps,
Yoav.

Similar Messages

  • Toplink / Weblogic 8.1 portal loosing indirection references through JPFs.

    We're using Toplink 9.0.4 with Weblogic Portal Server 8.1 SP3, and all our indirection references are null when called through a JPF. They are fine on the EJBs. Does anybody have any idea what's going on here?
    Thanks!

    Not sure -- is the object being serialized? I would expect you to get a null pointer exception when triggering the indirection if it was, but are you saying you're just getting back a null from the relationship?
    - Don

  • Com.sap.ecommerce.boi.loyalty.LoyaltyUserBackend Indirect reference issue

    Hi All,
    I have some issue when I am customizing SAP CRM 7 application. There I have extend
    com.sap.isa.businessobject.User
      class and create custom Z_User class. 
    But  I got following message in my custom class after extend User class.
    This compilation unit indirectly references  the missing type com.sap.ecommerce.boi.loyalty.LoyaltyUserBackend (typically  some required  class  file is referencing  a type outside  the class path )
    Can anybody to help me to solve this issue?
    Thank You
    Edited by: Chandana Napagoda on Oct 21, 2011 10:35 AM

    Hi,
          I am sending only answers.If wrong pls correct me.
    1.A,C
    2.C
    3.A,B,D,E
    4.ACE
    5.ABCD
    6.B
    7.BE
    8.ALL
    9.ABC
    10.ABCDE
    11.A
    12.ABCD
    13.E
    14.BC
    15.ALL
    16.ABC
    17.ACD
    18.AC
    19.B
    20.ACDE
    21.DE
    22.B
    23.ABCD
    24.CD
    25.C
    26.BDE
    27.BCE
    28.C
    29.CDE
    30.BCDE
    31.BDE
    32.A
    33.B
    34.ALL
    35.ABC
    36.ALL
    37.ABC
    38.A
    39.ACDE
    40.AB
    41.ABE
    42.CD
    43.ABCE
    44.CD
    45.ACDE
    46.BD
    47.AC
    48.CD
                         I have sent answers for the questions.If any answer is wrong pls correct me.
    Assign points if useful
    Regards,
    S.VINAYA KUMAR

  • Compilation unit indirectly references the missing type java.lang.Object

    Hi All,
    I am getting the below mentioned error
    "This Compilation unit indirectly references the missing type java.lang.Object (typically some required class file is referencing a type outside the class path)"
    Please someone help me resolve this issue.
    Thanks
    Uday

    I am getting a new type of error
    each time i am deleting a  method which duplicate, its getting created again.
               catch(WDDynamicRFCExecuteException wddree){
          wddree.printStackTrace(); }
      public void onActionExit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExit(ServerEvent)
        //@@end
      //@@begin javadoc:onActionExit(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionExit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionExit(ServerEvent)
        //@@end
      //@@begin javadoc:onActionSelect(ServerEvent)
      /** Declared validating event handler. */
      //@@end
      public void onActionSelect(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onActionSelect(ServerEvent)
        //@@end
    The following code section can be used for any Java code that is
    not to be visible to other controllers/views or that contains constructs
    currently not supported directly by Web Dynpro (such as inner classes or
    member variables etc.). </p>
    Note: The content of this section is in no way managed/controlled
    by the Web Dynpro Designtime or the Web Dynpro Runtime.
      //@@begin others
      //@@end

  • How can I indirectly reference a worksheet?

    I'd like to extract data automatically from spreadsheets that I obtain on a daily basis.
    I'm pasting each spreadsheet into a new sheet with a summary sheet as sheet one so that I'll have one summary sheet for each month with thirty or so other daily sheets.
    I've created a successful formula for doing this and now I want to be able to drag the formula across in the summary so that I don't need to alter it each day.
    How do I do this?
    Ideally, I'd like to extract the data from each daily spreadsheet without the need to copy and paste or even open it!
    Is this possible with numbers?
    Kind regards

    As quinn suggests, if by daily "spreadsheet" you mean a separate document each day, then you will need a script. More details are needed on what your sheets look like before one can be suggested.
    If you save the daily data in a separate sheet in the same document, then the INDIRECT function can help.  Here is a simple example of Table 1 in Sheet 1, which retrieves values from cell A2 in tables on Sheet 2 and Sheet 3.  For this example, I entered 2 in cell A2 of Table 1 on Sheet 2, and 3 in cell A2 of Table 1 on Sheet 3.  Once you've got the INDIRECT formula working, you can just copy it down the column, and specify in columns C and D the sheets and tables containing the source data.
    Result
    Formula Used in column A
    Sheet reference
    Table reference
    2
    =Sheet 2::Table 1::A2
    Sheet 2
    Table 1
    2
    =INDIRECT(C3&"::"&D3&"::A2")
    Sheet 2
    Table 1
    3
    =INDIRECT(C4&"::"&D4&"::A2")
    Sheet 3
    Table 1
    SG

  • How to use cell contents to indirectly reference other tables?

    I think I need to use the INDIRECT or ADDRESS function here, but I just can't seem to structure it right. Does anyone have ideas?
    I have a model that uses multiple tables, and I want to be able to enter table names, column names and row names into a new table, and for it to go and look up the right value in that TABLE::ROW NAME, COLUMN NAME.
    In more detail: I have a table called SITES that has columns called Site1, Site2 etc, and rows of information such as Name, Phone, etc. I also have a whole series of tables called OPTION1, OPTION2 etc etc, which also have multiple columns for Site1, Site2 etc, and then rows of different information for each site, labelled Alt1, Alt2, Alt3 etc.
    What I want to do is create new tables for reports, where I can enter eg OptionN in one cell, SiteN in another, and for that table to lookup the value of table OptionN::SiteN AltN. I need this to be built into the formulae partly for data integrity purposes eg, if the table shows Site1 name, and Option1, I need to be certain that the information in that table truly reflects Site1 and Option1 information, and also because I want to be able to create some simple whatif comparisons by changing a table from say Option1 to Option2 and seeing the difference.
    So far, I have tried entering OptionN in A1 of the new table, and SiteN in B1, butI can't find a formula that will then go to table OptionN (A1) and lookup eg SiteN (B1), AltN. The AltN term would be written into the formula rather than referenced from another cell such as C1. I've tried the following sort of thing - none work:
    =&A1 &"::" &B1 &"AltN"
    =INDIRECT(A1&"::"&B1&"AltN")
    =INDIRECT(ADDRESS(AltN,B1,,,A1))
    I'd be very grateful for any help, as the ability to create tables that will lookup info from elsewhere using contents of its own cells will transform Numbers for me from a novelty to a seriously useful tool.
    Message was edited by: MrJim

    MrJim wrote:
    I've tried this, but it doesn't seem to work for non-numeric values. If $C was the name of a Header row, eg Mot, instead of a number then it doesn't seem to work.
    James,
    Here's a primitive example that, I believe, in your words "will transform Numbers for me from a novelty to a seriously useful tool".
    In the Result column we have the nice little expression: =INDIRECT(Site&" "&Alt). You should be able to take it from there.
    That's it.
    Jerry
    Edit: This presumes that you have gone to the Numbers Preferences and selected Use Header Names as References.

  • Intermittent Indirect REference to login page error

    Hello,
    I am building a small web app in a mixed (java/microsoft) environment. We have no budget for a purchased single sign on solution, so I built one with the following architecture:
    ASP page with integrated windows security, this simply returns to the url passed in as'URL' the clients current logon name.
    This ASP page is called by the IntranetSSOServlet, which then builds and submit the vanilla logon page. This servlet is my logon page, it simply posts it's URL to the ASP page, and if a return is posted from ASP, the logon page is bult and submitted. The IntranetSSOServlet also sets a session variable called user to the current user's windows login.
    I have two secure files, these are .jsp passthrough pages (since accessing the servlet directly did not appear to trip the security requirement and call the logon request from the server, so no users were ever in any roles). These are simple pages with a javascript redirect to the two servlets, and the jsp is only used because the servlets do not seem to trip the security requirement in the App server.
    On my machine this works with no issues, single sign on is a success and all is well, on the machine next to mine it works fine also. However, on several client machines, I keep getting an invalie direct reference to login page.
    My question is this:
    Does anyone see any major issues with the architecture which are causing this?
    It appears that the browser on some clients is attempting to go 'Back'. Is this a standard function of any software packages (spyware, internet tracking software, etc.?)
    I am building with Netbeans 5.0, running Embedded Tomcat 5.5.9 and the pages are all accessed via windows XP/IE 6
    Again, whats weird is that this works fine on several workstations, but throws the invalid direct reference to login on others...
    I am quite confused.
    Code to follow:
    IntranetSSOServlet
    if(request.getParameter("user") != null)
    HttpSession session = request.getSession(true);
    session.setAttribute("user",request.getParameter("user"));
    //If SSO submission has returned a validated user name
    //out.println(request.getParameter("user"));
    //post this name and the default password to the logon
    //This servlet will become the logon page, which will handle the redirects easier
    out.println("<form METHOD=\"POST\" name = \"form\" action=\"../Intranet-WebModule/j_security_check\">");
    //Generate a div to hide all of the input fields
    out.println("<div style=\"display:;\">");
    out.println("<input type=\"text\" name=\"j_username\" value=\""+request.getParameter("user")+"\"/>");
    out.println("<input type=\"password\" name=\"j_password\" value=\"sas\"/></div>");
    out.println("<input type=\"submit\" value=\"Submit\"/></div>");
    request.getSession().setAttribute("user",request.getParameter("user"));
    //out.println("<input type=\"submit\"></form>");
    out.println("</form><script language=\"javascript\">//form.submit();</script>");
    else
    //call the SSO submission page
    out.write("<script language=\"javascript\">location.replace(\"http://HOSTNAME/SSO/SSO.asp?URL="+lookupIntranetGlobalsBean().getJSPSiteRoot()+"IntranetSSOServlet\");</script>");
    out.close();
    This Servlet simply returns from the ASP a string (the user's logon) and then creates the post page, which posts a single dummy password to the app server
    JSP passthrough page (secured resource)
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%--
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    --%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    </head>
    <body>
    <script language="javascript">
    location.replace('http://HOSTNAME:8080/Intranet-WebModule/HRTools/newEmployeeAccountServlet');
    </script>
    </body>
    </html>

    Another try besides
         <login-config>
            <auth-method>FORM</auth-method>
            <realm-name>userDatabase</realm-name>
            <form-login-config>
                <form-login-page>/pages_public/login.jsp</form-login-page>
                <form-error-page>/pages_public/loginError.jsp</form-error-page>
            </form-login-config>
        </login-config>is that I try to handle the error code in the web.xml with
    <error-page>
         <error-code>400</error-code>
         <location>/error.jsp</location>
      </error-page>It works when I say location = index.jsp, but it doesn't work when I try to redirect to error.jsp.
    But when I redirect to index.jsp I just reload the login page, but then the user gets no information what has happened, therefore I need the error,jsp.
    I have no idea why. If anybody has a hint or know why it is this way, please let me know!!
    Thanks.

  • How Indirect Referencing in Oracle PL/SQL

    hi,
    can u please help in write a pl/sql code that support the indirect referencing.
    the example given is the modified version of my actual requirement.
    declare
    x varchar2(10);
    y varchar2(10);
    begin
    x := 'y';
    y := 'abcd';
    end;
    can i print the value of y that 'abcd' by using variable X by some indirect reference.
    thanks

    Hi, Michael thanks for the reply.
    I am trying to replicate the Oracle Forms (D2K) functionality in PL/SQL. In Oracle Forms we have built-ins "NAME_IN" or "COPY. In most of the oracle env we normally have around 200 pl/sql packages/procedure/function. Most of us get the diff. errors from these procedures time to time. The currently i am also facing the same. so i decided the write a generic/dynamic procedure that will return the values of the parameter that is passed in the procedure.
    For this i made some changes in "who_call_me" procedure (originly written in "asktom.oracle.com site") now it will return the comma separated parameter list as out variable. Inside this procedure i am manipulating "dbms_utility.format_call_stack" and get the "package.procdure name". Ones i get the "package and procedure name" the cursor statement on "user_argument" table will give the entire "IN" parameters name.
    The comma separated parameter list I am returning to my main procedure.
    Now I want to print these values.
    See the code given below. I am sorry for that the code is bad shape. but it in working condition.
    Please follow the step given below…
    Step 1) connect to sqlplus user/passwd@conectstring
    Step 2)
    create or replace procedure who_call_me(
    parameter_list out varchar2 )
    as
    owner varchar2(100);
    name1 varchar2(100);
    lineno number;
    caller_t varchar(100);
    type Varchar2_Table IS TABLE OF user_arguments.argument_name%type INDEX BY BINARY_INTEGER;
    all_arguments Varchar2_Table;
    ARGUMENTS dbms_sql.NUMBER_table;
    SQL_STAT VARCHAR2(4000);
    pname VARCHAR2(50);
    call_stack varchar2(4096) default dbms_utility.format_call_stack;
    n number;
    found_stack BOOLEAN default FALSE;
    line1 varchar2(255);
    cnt number := 0;
    begin
    loop
    n := instr( call_stack, chr(10) );
    exit when ( cnt = 2 or n is NULL or n = 0 );
    line1 := substr( call_stack, 1, n-1 );
    call_stack := substr( call_stack, n+1 );
    if ( NOT found_stack ) then
    if ( line1 like '%handle%number%name%' ) then
    found_stack := TRUE;
    end if;
    else
    cnt := cnt + 1;
    if ( cnt = 2 ) then
    line1 := ltrim(substr(line1, instr(line1, ' ' )) );
    lineno := to_number(substr( line1, 1, instr(line1,' ') ));
    line1 := ltrim( substr( line1, instr(line1,' ' ) ) );
    if ( line1 like 'pr%' ) then
    n := length( 'procedure ' );
    elsif ( line1 like 'fun%' ) then
    n := length( 'function ' );
    elsif ( line1 like 'package body%' ) then
    n := length( 'package body ' );
    elsif ( line1 like 'pack%' ) then
    n := length( 'package ' );
    elsif ( line1 like 'anonymous%' ) then
    n := length( 'anonymous block ' );
    else
    n := null;
    end if;
    if ( n is not null ) then
    caller_t := ltrim(rtrim(upper(substr( line1, 1, n-1 ))));
    else
    caller_t := 'TRIGGER';
    end if;
    line1 := substr( line1, nvl(n,1) );
    n := instr( line1, '.' );
    owner := ltrim(rtrim(substr( line1, 1, n-1 )));
    name1 := ltrim(rtrim(substr( line1, n+1 )));
    -- dbms_output.put_line('line '||line1);
    -- dbms_output.put_line('owner '||owner);
    -- dbms_output.put_line('name '||name1);
    end if;
    end if;
    end loop;
    SQL_STAT := ' SELECT TRIM(SUBSTR(TXT,START_POS,END_POS-START_POS)) FROM
    select txt,
    CASE WHEN INSTR(txt,'||''''||'PROCEDURE'||''''||') <> 0 THEN INSTR(txt,'||''''||'PROCEDURE'||''''||')+9
    WHEN INSTR(txt,'||''''||'FUNCTION'||''''||') <> 0 THEN INSTR(txt,'||''''||'FUNCTION'||''''||') +8 END START_POS,
    CASE WHEN INSTR(txt,'||''''||' IS '||''''||') <> 0 THEN INSTR(txt,'||''''||' IS '||''''||')
    WHEN INSTR(txt,'||''''||' AS '||''''||') <> 0 THEN INSTR(txt,'||''''||' AS '||''''||') END END_POS
    FROM
    SELECT TXT FROM
    SELECT UPPER(TEXT) TXT, LINE LINENO, MIN(LINE) OVER() MIN_LINE
    from user_source us
    where us.name = '||''''||name1||''''||'
    and type = '||''''||caller_t||''''||'
    and ( upper(text) like '||''''||'%PROCEDURE%'||''''||' OR upper(text) like '||''''||'%FUNCTION%'||''''||')
    AND LINE <= 16
    ) WHERE LINENO = MIN_LINE
    EXECUTE IMMEDIATE(SQL_STAT) INTO pname;
    IF caller_t = 'PACKAGE BODY' THEN
    name1 := name1||'.'||pname;
    END IF;
    declare
    cursor c1 is select ARGUMENT_NAME
    from user_arguments where
    object_name = name1
    and decode(nvl(PNAME,'*'),'*','*', OBJECT_NAME) = nvl(PNAME,'*')
    AND ARGUMENT_NAME IS NOT NULL
    and in_out = 'IN'
    ORDER BY POSITION ;
    begin
    for i in c1 loop
    if parameter_list is not null then
    parameter_list := parameter_list||',';
    end if;
    parameter_list := parameter_list||i.ARGUMENT_NAME;
    end loop;
    end;
    end;
    step 3
    create or replace procedure my_test(empno varchar2,sal number) is
    x varchar2(4);
    begin
    x := 'abcdef';
    exception when others then
    declare
    my_parameter_list varchar2(4000);
    begin
    who_call_me(my_parameter_list);
    dbms_output.put_line('Parameter List---->'||my_parameter_list);
    end;
    end;
    Step 4)
    Sql> set serveroutput on
    SQL> execute my_test('sam',1000);
    Parameter List---->EMPNO,SAL
    PL/SQL procedure successfully completed.
    SQL>
    If u see the output of the My_Test is "EMPNO,SAL".
    now can u help to print the values that is 'sam',1000.
    Thanks
    Sanjeev Saxena
    My email id - [email protected]
    - [email protected]

  • A reference was created to embedded interop assembly

    Hi
    I have several warnings as below;
    A reference was created to embedded interop assembly 'Accessibility' because of an indirect reference to that assembly from assembly 'System.Windows.Forms'. Consider changing the 'Embed Interop Types' property on either assembly.
    What do I need to do to resolve these?
    Thanks
    Regards

    Hi Y a h y a,
    >>A reference was created to embedded interop assembly 'Accessibility' because of an indirect reference to that assembly from assembly 'System.Windows.Forms'. Consider changing the 'Embed Interop Types' property on either assembly.
    Could you tell us the real project you were developing, WinForm or others? When did you get this error message?
    Based on the error message, you would check whether it is related to the
    Embed Interop Types property.
    Reference:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/ee5b0fdf-da01-499b-862b-c50ef914c35f/warning-a-reference-was-created-to-embedded-interop-assembly-stdole?forum=visualstudiogeneral
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/139194b1-059b-47c6-b079-705b39e3f888/a-reference-was-created-to-embedded-interop-assembly?forum=clr
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Warning "A reference was created to embedded interop assembly 'stdole'"

    I add Video Cap Active X Control in VB 2010 to display video from my camera IP, but in error list, there is 3warning like this
    Warning 1
    A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'AxInterop.VIDEOCAPLib'. Consider changing the 'Embed Interop Types' property on either assembly.
    Warning 2
    A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'Interop.VIDEOCAPLib'. Consider changing the 'Embed Interop Types' property on either assembly.
    Warning 3
    A reference was created to embedded interop assembly 'stdole' because of an indirect reference to that assembly from assembly 'Microsoft.VisualBasic.Compatibility'. Consider changing the 'Embed Interop Types' property on either assembly.
    I 've read this link http://msdn.microsoft.com/en-us/library/ff182188.aspx but i still confuse and I don't know how to fix that case. I hope anyone can help that problems with some example
    thank you

    Hi ainunzariah,
    You can try set the Embed Interop Types property to false for
    AxInterop.VIDEOCAPLib,
    Interop.VIDEOCAPLib and Microsoft.VisualBasic.Compatibility
    in the References folder to see if it helps.
    Thanks.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Error in javax.resource.cci.Connection during Compilation

    Hi,
    I am using NW 04 to write a par for my EP.
    But I encountered the following error at the line
    package com.sap.nwrig.demo;
    The error is as shown :
    This compilation unit indirectly references the missing type javax.resource.cci.connection (typically some required class file is referencing a type outside the classpath)
    Do hope anyone could help.
    Thanks.
    Regards,
    Mike Lee

    Hi Mike,
    I guess you need to add the JCA library that contains the javax.resource.cci.Connection class to the classpath of your project. Here's how to do it (assuming you're using the NetWeaver Developer Studio):
    1. Right click on your project and choose Properties.
    2. Choose Java Build Path from the lefthand side tree, and then choose the Libraries tab on the right.
    3. Click on the Add External JARs button and browse to the following directory: <NW_Dev_Studio_inst_dir>\eclipse\plugins\com.tssap.ext.libs.j2ee_1.3\lib
    4. Select connector.jar and choose Open.
    This adds the library and now the referenced type should be resolved.
    Regards,
    Ivo

  • Cannot find the class file for com.sap.portal.services.api.connectorgateway

    Hi,
    I was trying the "How to BI JAVA SDK in a Portal iView and get the following error.
    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 and try rebuilding this project.
    I have the following in my portalapp.xml file
    <property name="SharingReference" value="com.sap.portal.ivs.connectorservice"/>
    and i have also added the jar file "com.sap.portal.ivs.connectorservice_api" in the set of lib's
    Has some faced a similar issue? or can someone suggest how I could possibly resolve this.
    Thanks,
    Smitha

    Hi Smitha:
       My webdynpro dc was build failed for "This compilation unit indirectly references the missing type com.sap.engine.services.webservices.espbase.client.dynamic.content.GenericObject (typically some required class file is referencing a type outside the classpath)".
    How should i do?  Thank you!

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

  • Class path Error

    Hi Guys,
    I was trying to write codes to check connector connectivity, 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

    Hi,
    If you are using a portal service, may you forgot to do the following->
    Right click on your application -> properties  -> Web Dynpro references -> sharing references - > add PORTAL:sap.com/<your service>
    Regards
    yoel

  • Missing type javax.resource.cci.connection

    Hi,
    I'm would like to use JCA framwork, but I guess I should have appropriate connection class.
    the missing class type is javax.resource.cci.connection
    Where can I find/download this class jar file?
    Any help would be appriciated
    Thanks
    Ami

    The error I get that prevent me from compiling the projects is:
    This compilation unit indirectly references the missing type javax.resource.cci.Connection (typically some required class file is referencing a type outside the classpath)
    any idea of what should I do?
    Thanks
    Ami

Maybe you are looking for