The import oracle cannot be resolved

I am new to ODI. I wrote a code for an Open Tool. But it throwing The import oracle cannot be resolved exception. Even I have imported ojdbc14.jar file. Can anybody tell me how to resolve it or the right way to import this file again. I am using eclipse for the same.

hi,
thnx for reply...my problem is above exception throws while creating jar file for open tool. Before few days it was not comming. May be its because as I add some new features to it or because of ojdbc14.jar file is not imported correctly in package. I am new to java as well as to ODI.

Similar Messages

  • The host name cannot be resolve ? ( with linksys router )

    Hi all, I have some problem with setting up a network. I tried to set my network according to http://wiki.archlinux.org/index.php/Configuring_network   the network/internet is fine except the host name with "http://" cannot be resolve. For example
    ping 216.239.61.104
    ping www.gogle.com
    both work fine, until I try,
    ping http://www.google.com
    it give me error, tell me that the hostname cannot be resolved. I tried to config my network using both dhcp or fix-ip, but the problem still present in both way. Internet works fine in windows/ubuntu.
    Anyboy has any clue ?  The router I use is wrt54gl with tomato firmware.
    thanks in advance.

    kowalski wrote:
    Hi,
    if pinging www.google.com works then dns resolving _does_ work. Why would you want to ping http://something?
    You should try opening http://whatever in a browser not pinging it from command line.
    Or am I missing something obvious?
    Yes, for instance, all mirror list for pacman is in "http://...." or "ftp://...." form. I could easily change the repository list, but I'm not sure if it'll have same problem in future with other program.  Also, if it work in ubuntu and windows, why not arch.

  • Import statements cannot be resolved

    I couldnt able to import the following statements,
    import javax.ejb.EntityBean;
    import javax.ejb.CreateException;
    import weblogic.ejb.GenericEntityBean;
    import weblogic.ejbgen.;*
    Do we need to set any properties..
    I have set the classpath,path .. but still weblogic,javax.ejb is not resolving in import statement
    Do we need to make anything in weblogic settings
    Thanks well in advance

    Guess you are getting some errors related to class not found..
    Did you set weblogic.jar in the classpath ?

  • Import org.apache.avalon cannot be resolved

    Hi, I am new to Eclipse and J2EE in general and I have tried to import a project in Eclipse 3.0.1. However, I am getting several compile errors having to do with the following imports:
    import org.apache.avalon.framework.activity.Initializable;
    import org.apache.avalon.framework.activity.Startable;
    import org.apache.avalon.framework.configuration.Configurable;
    import org.apache.avalon.framework.configuration.Configuration;
    import org.apache.avalon.framework.configuration.ConfigurationException;
    import org.apache.avalon.framework.logger.AbstractLogEnabled;
    import dragon.common.services.cache.janitor.ICacheJanitorService;
    import dragon.common.services.cache.store.IExpiringStoreComponent;
    import dragon.common.services.cache.store.IStoreComponent;
    stating that
    "The import..." [import package name] "...cannot be resolved"
    Can anyone help with what I should do? Thanx

    I am trying to compile code but keep getting an error stating that the import of a class is not working? I wondered if I am having the same problem. I am running eclipse 3.0. The applet is called joole and it is importing CBoolFkt but it is evidently not working. Appreciate any ideas.
    The applet is not initiating and the error messages is as follows:
    java.lang.Error: Unresolved compilation problems:
         The import CBoolFkt cannot be resolved
         The import ShowCopyright cannot be resolved
         at Joole.<init>(Joole.java:8)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(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.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)

  • JspWriter cannot be resolved to a type

    The following is CheckAddress.jsp page which checks if the form has the name and phone fields filled in or not. If not then it must print the errors. But the problem I am having is that the Eclipse is showing me the error "JspWriter cannot be resolved to a type".
    If I ignore this error and run the page in the j2ee preview server in eclipse than I get the following error:
    >
    Unable to compile class for JSP
    An error occurred at line: 22 in the jsp file: /CheckAddress.jsp
    Generated servlet error:
    The method prinln(String) is undefined for the type JspWriter
    An error occurred at line: 22 in the jsp file: /CheckAddress.jsp
    Generated servlet error:
    The method prinln(String) is undefined for the type JspWriter
    An error occurred at line: 22 in the jsp file: /CheckAddress.jsp
    Generated servlet error:
    The method prinln(String) is undefined for the type JspWriter
    Caused by:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    >
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
        pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <%--Provide Directives to inform JSP of packages needed--%>
    <%@page language="java" import="java.util.*"%>
    <%@page language="java" import="java.io.*"%>
    <%--Specify JSTL tag library for use --%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <meta http-equiv="Content-Type" content="text/html; charaset=ISO-8859-1">
    <title>Check Address</title>
    </head>
    <body>
    <%--Declare the java bean for the addresslist to be queried --%>
         <jsp:useBean id="dbab" class="addressBean.DBAddressBean" />
    <%--Use JSP scripting elements to define two methods --%>
    <%!
         List<String> checkAddress(String Name, String Phone){
          List<String> errors = new ArrayList<String>();
          if((Name == null) || (Name.equals(""))){
               errors.add("Name must not be blank");
          if((Phone == null)||(Phone.equals(""))){
               errors.add("Phone must not be blank");
          return errors;
         void printErrors(JspWriter out, List<String> errors) throws IOException{
              //Report the errors
              out.prinln("<p class=\"error1\">The following errors occured: <br />");
              out.prinln("<ul>");
              Iterator<String> i = errors.iterator();
              while(i.hasNext()){
                   out.println("<li type=\"disc\">"+i.next()+"</li>");
              out.prinln("</ul></p><p><b>please try again</b></p><br />");
    %>     
    <%--Use the internal Scriptlet to call an internal method and get the request parameters with the form info--%>
    <%
         List<String> errors = checkAddress(request.getParameter("Name"), request.getParameter("Phone"));
    %>
    <%--Use JSTL tags to get the values of the parameters for all of the form info --%>
         <c:set var="aid" value="${param.aid}"/>
         <c:set var="Name" value="${param.Name}"/>
         <c:set var="Street" value="${param.Street}"/>
         <c:set var="City" value="${param.City}"/>
         <c:set var="State" value="${param.State}"/>
         <c:set var="Zip" value="${param.Zip}"/>
         <c:set var="Phone" value="${param.Phone}"/>
    <%--Use JSP elements to set the values in the Java Beans--%>
         <jsp:setProperty name="dbab" property="id" value="${aid}"/>
         <jsp:setProperty name="dbab" property="name" value="${Name}"/>
         <jsp:setProperty name="dbab" property="street" value="${Street}"/>
         <jsp:setProperty name="dbab" property="city" value="${City}"/>
         <jsp:setProperty name="dbab" property="state" value="${State}"/>
         <jsp:setProperty name="dbab" property="zip" value="${Zip}"/>
         <jsp:setProperty name="dbab" property="phone" value="${Phone}"/>
    <%--Use the scriptlet to determine where to go now --%>
    <%--Notice how the JSP element tag is used within the scriptlet, the scriptlet needs to be "closed" and "reopened"--%>
    <%
         if(errors.size()==0){
              dbab.saveChanges();
              response.sendRedirect("AddressList.jsp");
         }else{
              //print errors
              printErrors(out, errors);
    %>          
         <jsp:include page="EditAddress.jsp"/>
    <%
    %>     
    </body>
    Edited by: blinkaj on Apr 18, 2010 2:15 AM

    Thanks elOpalo, even though eclipse is still showing the error, things are running fine after I rectified my typing mistake about the prinln. :)

  • RAWSTRING issue in NWDS 7.3  - B cannot be resolved to a type

    Dear Experts,
    I'm facing an issue while importing a structure in RFC which has RAWSTRING in NWDS 7.3 SP09. This worked well in NWDS 7.0 but having issues in NWDS 7.3
    In the inbuilt Java files I'm having error in the method ( B cannot be resolved to a type )
      public [B getBinary1() {
        return ([B)super.getAttributeValue("Binary1");
    Appreciate your suggestions if you faced similar issues.
    Thanks

    hi mohamed ,
    as already specified  in the thread  ,http://scn.sap.com/thread/3286933  you can use the deprecated rfc , as even we were not able to solve that issue even though we deleted and reimported several times , you can use deprecated rfc . we tried changing the type of the attribute from xtring to other compatible types at abap side but it didnt work , so we used deprecated rfc.
    Regards
    Govardan

  • DataBean cannot be resolved to a type

    Hi,
    I am using java beans and pasted the class files of beans in rott's classes folder and in main root folder the jsp pages which uses that bean but when I run the jsp page tomcat gives an error
    "Generated servlet error: import dataBean cannot be resolved"

    Maybe it's "DataBean", with a capital D? Maybe the package isn't correct?

  • FileDataSource cannot be resolved to a type (client application)

    Hi,
    I'm trying to send a file to a (rpc) web-service. My client java application does it with the following code.
    mySoapProxy.myMethod(new DataHandler(new FileDataSource(filename)));
    The error stated is the following:
    "FileDataSource cannot be resolved to a type"
    And I do have imported all classes from javax.activation package.
    Do you have any idea?
    Thanks

    Hi,
    I'm trying to send a file to a (rpc) web-service. My client java application does it with the following code.
    mySoapProxy.myMethod(new DataHandler(new FileDataSource(filename)));
    The error stated is the following:
    "FileDataSource cannot be resolved to a type"
    And I do have imported all classes from javax.activation package.
    Do you have any idea?
    Thanks

  • EmailControl cannot be resolved to a type

    Hi,
    We upgrade an WLW 8.1 application with a simple EmailControl from WLW 8.1 to WLW 10.3 and we get the error :
    +"EmailControl cannot be resolved to a type"+
    The import wizard imported a trivial WLW 8.1 with a simple call to the emailControl.
    What can be wrong and what should we add to get this emailControl working in WLW10.3 ?
    Thanks
    Yves
    ############# code ############
    package controls;
    import org.apache.beehive.controls.api.bean.ControlExtension;
    import weblogic.jws.*;
    import com.bea.control.*;
    import org.apache.xmlbeans.XmlObject;
    * A custom Email control.
    * @jc:email smtp-address="localhost:25"
    * from-address="[email protected]"
    * from-name="The Sender"
    * reply-to-address="[email protected]"
    * reply-to-name="ReplyName YYYY"
    * header-encoding=""
    * username=""
    * password=""
    @ControlExtension()
    public interface EmailSuperManager extends EmailControl
    * @jc:send-email to="{to}"
    * subject="{subject}"
    * body="{body}"
    * content-type="text/plain"
    void sendEmail( String to,
    String subject,
    String body);
    }

    user5184649 wrote:
    What can be wrong ...
    Wrong forum for this question.

  • HashTable cannot be resolved to a Type

    Hey Guys,
    I want to use a HashTable to assign Integer object values to the to String keys defined by the getActionCommand() methods of an array of JButtons. Now I tried to construct a HashTable like this:
    private HashTable<String, Integer> commandParser = new HashTable<String, Integer>();Eclipse gives me the error "HashTable cannot be resolved to a Type" .
    I thought I had done it all as was stated in the APIs. What?s wrong here?
    Sum1 hlp pls i cant figger ths oot ;-)
    EDIT: While I?m here, I get a warning:
    The serializable class BuildPane does not declare a static final serialVersionUID field of type long
    for every one of my classes.
    What is that about? I ignored it because it?s just a warning, but always safe, never sorry.
    Edited by: AikmanAgain on Mar 29, 2008 5:29 AM

    AikmanAgain wrote:
    Hey Guys,
    I want to use a HashTable to assign Integer object values to the to String keys defined by the getActionCommand() methods of an array of JButtons. Now I tried to construct a HashTable like this:
    private HashTable<String, Integer> commandParser = new HashTable<String, Integer>();Eclipse gives me the error "HashTable cannot be resolved to a Type" .
    I thought I had done it all as was stated in the APIs. What?s wrong here?There is no class called HashTable in the JRE. Look again ... and remember Java is case sensitive.
    The serializable class BuildPane does not declare a static final serialVersionUID field of type long
    for every one of my classes.
    What is that about? I ignored it because it?s just a warning, but always safe, never sorry.The serialVersionUID is a field that's used in serialization (as the name and the warning should have suggested).
    Google for any serialization tutorial and you'll learn what it's good for.

  • The import weblogic.utils.collections.MultiMap cannot be resolved

    Hi,
    I imported a project from weblogic to eclipse. I'm getting the below mentioned error
    "The import weblogic.utils.collections.MultiMap cannot be resolved "
    Added the necessary weblogic jar files to the project in eclipse.
    Kindly help me.
    Thanks in advance.

    Please Close this thread and reopen it in
    Oracle Discussion Forums » Application Server » WebLogic Server - General

  • Getting an error like this The import javax.servlet cannot be resolved

    HI
    i am getting an error like this "The import javax.servlet cannot be resolved".wht i ahve done in eclipse right click->open->servlet->packge name->servlet name->next->nexyt>finish.hereinterfaces is javax.servlet.Servlet.
    do i need add jar for it.can any one tell me why i got error like this.
    vijay

    Please don't doublepost. Answer is given here: http://forum.java.sun.com/thread.jspa?threadID=5220686

  • The import com.sapportals.htmlb cannot be resolved

    Hi,
    I am working on EP7 and trying to create a sample application for DynPage Portal Component.
    After I create a new DynPage in NWDS, i get the following error:
    The import com.sapportals.htmlb cannot be resolved
    I found a link similar to this problem but not clear abt how to solve it:
    Re: I cant import com.sapportals.htmlb.*
    How do I resolve this error? Are there some set of files that need to be import before I can develop this application.
    Thanks in advance,
    CD

    Hi CD,
    1. Regarding the availability of the KIT, checkout the link:
    Link: [Role for a Java developer;
    2. Regarding the Path for the mentioned libraries:
            **Program FilesSAPJDTeclipseplugins
    **must be in your C:
    If you do not find the specified jar file there, you can use the JAR File Locator. Checkout the link:
    Link: [Re: EP7 PDK;
    Regards,
    Chander Kararia
    #If problem solved, close the thread after rewarding points.

  • The import org.apache cannot be resolved

    Hi All,
    I am a Java\Eclipse newbie. I am trying to import the org.apache.xerces package, and the import is failing with this error:The import org.apache cannot be resolved
    I am not using Maven\Ant for building the project. I know I need to download some class files\jar files to get this to work, but I am not sure where to download these packages from. Could someone please help me out here?
    import org.w3c.dom.Node;
    import org.apache.xerces.parsers.DOMParser;
    import org.apache.xerces.dom.traversal.TreeWalkerImpl;
    import org.apache.xerces.domx.traversal.NodeFilter;
    import org.apache.xerces.dom.DocumentImpl;
    THanks a lot!

    Well, if you are in fact looking to download the JARs for the Apache Xerces project, you should be able to find them at the Apache Xerces project page.
    If you already have the JARs downloaded, you need to make sure that they appear on your CLASSPATH, otherwise your application will never find them. Since you are using an IDE, this should be as easy as adding the JARs to your project.

  • The import org.apache.struts.action.ActionError cannot be resolved

    Hai anyone,. I' a newbie to struts and want to learn more. I download the example code, and run it. Hey, it work. But when I try to create it by myself by following the tutorial, I got stuck with my all java file when i want to try to compile it with eclipse.It say:
    The import org.apache.struts.action.ActionError cannot be resolved
    What' wrong?
    this is one of the example code, i bolded the error line:
    package dummies.struts.music;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.Action;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.validator.DynaValidatorForm;
    * @author Mike Robinson
    public class LoginAction extends Action
         * Handles request from user
         * @param mapping
         * @param form
         * @param request
         * @param response
         * @throws Exception
         public ActionForward execute(      ActionMapping mapping,
                                                 ActionForm form,
                                                 HttpServletRequest request,
                                                 HttpServletResponse response)
                                                 throws Exception
              // did the user click the Join button?
              Boolean bCancel = (Boolean)request.getAttribute("org.apache.struts.action.CANCEL");
              if(bCancel != null)
                   if(bCancel.booleanValue())
                        return (mapping.findForward("join"));
              // create a new LoginBean passing the datasource
              LoginBean lb = new LoginBean(getDataSource(request, "musiccollection"));
              // check to see if this user/password combination are valid
              // will return a non-null UserDTO if valid
              UserDTO user = lb.validateUser((String)((DynaValidatorForm)form).get("email"),
                                                 (String)((DynaValidatorForm)form).get("password"));
              if(user != null)
                   // save UserDTO in session
                   request.getSession().setAttribute("user",user);
                   return (mapping.findForward("success"));
              else     // username/password not validated
                   // create ActionError and save in the request
                   ActionErrors errors = new ActionErrors();
                   ActionError error = new ActionError("error.login.invalid");
                   errors.add("login",error);
                   saveErrors(request,errors);
                   return (mapping.findForward("failure"));
    }

    Hi i try to build a dynamic web project in eclipse europa version.so i have opned my eclipse editor then right click selected the dynamic web project.onceit is done i wated to add the servelt so i have selcted the sevlet pressed ok then given name for it,next create servlet here iam getting the error lke this
    "An error occured when create servlet is finished" and in deatils it displyainf like thi
    "java.lang.Error: Unresolved compilation problems:
         The import org.eclipse.jst.j2ee.internal cannot be resolved
         CreateServletTemplateModel cannot be resolved to a type
         CreateServletTemplateModel cannot be resolved to a type
         at org.eclipse.jst.j2ee.web.ServletTemplate.<init>(ServletTemplate.java:3)"
    can any one help me here i have been stuck from morning doing nothing try to solve this problem
    thank u in advance
    vijay

Maybe you are looking for