Compilation errors on CommandLine works ok in JDeveloper!

Hi,
I am trying to run the application on a commandline. I am able to run it fine in JDeveloper as the application is created in JDeveloper. But I need to run it on a commandline. I need some help how to make it work. Here is the scenario:
I have two packages i.e.
com.test1.test2.all
com.test1.test2.util
I have four classes in each of the package.
My main class is in package com.test1.test2.all
When I try to compile the program, gets errors that say can't find the classes from package
com.test1.test2.util. As I have added import com.test1.test2.util.*; in classes of com.test1.test2.all. So can anyone help me what is the right way to do. Thanks for the help.

please make life easy for everyone and post what you
are entering at the command line.
your: javac -classpath etc......
Cant help you without that.
The big problem with IDE's is you end up automating
your perception of the build process, so you don't
actually know whats going on within the compiler.
If you want my advice stay away from JBuilder (or any
IDE) until you understand the fundamentals. It may
seem easier now, but you aren't doing yourself any
favours.
Danny
I'm a jEdit + javac man myself.

Similar Messages

  • AJAX code compilation error in jdk1.4.2_15 in JDeveloper 10.1.3.3.0

    I am using AJAX for search functionality in our appication which involves ADF JSF,jspx pages in JDeveloper 10.1.3.3.0. When I compile the following code it compiles fine without error in jdk1.5 but gives compilation error in jdk1.4.2_15.
    public List<String> autoCompleteFindUniqueNames(String searchString){
    UniqueEmployeeNamesImpl hits = this.getUniqueEmployeeNames1();
    hits.setNamedWhereClauseParam("searchPrefix",searchString.toUpperCase()+ "%");
    hits.setRangeSize(5);
    hits.executeQuery();
    ArrayList resultset = new ArrayList((int)hits.getEstimatedRowCount());
    for (Row row:hits.getAllRowsInRange()){
    resultset.add((String)row.getAttribute("LastName"));
    return resultset;
    Compilation error giving on the line " for (Row row:hits.getAllRowsInRange()){ "
    and it says " Error ; Expected "
    Can somebody helpme out what should I change on this line in order to compile this ?
    Thanks in advance,
    Ram

    Frank,
    Thanks for your response. I removed <String> after LIST and it compiles. But the problem
    is with the following iterator code which is giving error while compiling in jdk1.4.2_15. Trying to find out the equivalent iterator code of the following which is in jdk1.5
    Row row:hits.getAllRowsInRange()
    Thanks,
    Ram

  • Java.io.IOException: JDT compilation error!

    Dear All,
    I am trying to deploy my ejb 3.0 jar application into Weblogic 10.3 server. I getting the following exception.
    An error occurred during activation of changes, please see the log for details.
    Exception preparing module: EJBModule(JDOL_DOLServerAdmin) Unable to deploy EJB: JDOL_DOLServerAdmin.jar from JDOL_DOLServerAdmin.jar: There are 1 nested errors: java.io.IOException: JDT compilation error! at
    weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66) at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:552) at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:519) at weblogic.ejb.container.deployer.EJBDeployer.runEJBC(EJBDeployer.java:393) at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:715) at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:618) at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1154) at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:425) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93) at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58) at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42) at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191) at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155) at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:723) at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1190) at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:248) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    JDT compilation error!
    My working environment :
    Eclipse with Weblogic server 10.3 / XP
    Please help me to solve these issue.
    regards
    Muruganandam.n

    Maybe your EJB have static methods. Remove the 'static' modifier and retry.

  • Af:serverListener on jspx page - compilation error - jDeveloper 11.1.1.4.0

    I have a weird problem that adding a serverListerner component on jspx page causes compilation error:
    The class of the deferred-methods return type "{0}" can not be found.
    No property editor found for the bean "javax.el.MethodExpression"
    If I remove serverListener (to pass compilation) and then add it again in run-time, it works normally (the backing bean method is being triggered correctly, including passing params, etc).
    It is happening only on the current project, but when I make a test case it works normally. I suspect it has something with the project settings, but I couldn't find the cause regarding that the project has advanced and there are so many differences to be able to do simple comparison.
    Does anyone know what could be the reason for af:serverListener to break compilation, please?
    ... from jspx page...
    <af:resource type="javascript">
    function aaa(event) {
    var esrc = event.getSource();
    AdfCustomEvent.queue(esrc, "bbb", {fvalue : "TEST"},true);
    event.cancel();
    </af:resource>
    <af:inputText label="Label 1" id="it1">
    <af:clientListener method="aaa" type="click"/>
    <af:serverListener type="bbb" method="#{backing_bean.onClick}"/>
    </af:inputText>
    ... from BB ...
    public void onClick(ClientEvent clientEvent) {
    String message = (String) clientEvent.getParameters().get("fvalue");
    System.out.println(message);
    }

    Hi,
    Try like this
    <trh:script>clientListenerMethoName= function(event) {
    var source = event.getSource();
    AdfCustomEvent.queue( source, "serVerListenerType", {}, false); }
    </trh:script>
    Next :
    <af:clientListener method="clientListenerMethoName" type="click"/>
    <af:serverListener type="serVerListenerType" method="#{beanName.methodName}"/>
    Edited by: Raj Gopal K on May 4, 2011 4:05 PM

  • No Compiling Error but doesn't work NEW

    import java.awt.*;
    import java.awt.geom.*;
    import java.awt.event.*;
    import java.applet.*;
    public class javacw extends Applet implements KeyListener, Runnable
         Area pandaArea;
         Graphics2D g2d;
         // Providing coordinate control for the Panda
         int pandax=20, panday=50;
         // Animation condition. True = animate, False = static.
         boolean pandabool=false, laidOut=false;
         boolean left;
         boolean right;
         boolean up;
         boolean down;
    Thread animThread;
    Dimension offDimension;          // Defines an offscreen Dimension
    Image offImage;                    // Defines an offscreen Image
    Graphics offGraphics;          // Defines an offscreen Graphics
         Image panda;                    // Defines an Image object for panda
         public void init()
              // Set the layout of the applet to null
              setLayout(null);
              panda = getImage(getCodeBase(), "panda.gif");
              pandax=0;
              panday=0;
              addKeyListener(this);
              public void Move ()
                   if (left) {
                        pandax = pandax - 10;
                   if (right) {
                        pandax = pandax + 10;
                   if (up){
                        panday = panday + 10;
                   if (down){
                        panday = panday - 10;
              public void keyTyped(KeyEvent event){}
              public void keyPressed(KeyEvent event)
                   if (event.getKeyCode() == KeyEvent.VK_LEFT) left = true;
                   if (event.getKeyCode() == KeyEvent.VK_RIGHT) right = true;
                   if (event.getKeyCode() == KeyEvent.VK_DOWN) down = true;
                   if (event.getKeyCode() == KeyEvent.VK_UP) up = true;
                   repaint();
              public void keyReleased(KeyEvent e)
                   if (e.getKeyCode() == KeyEvent.VK_LEFT) left = false;
                   if (e.getKeyCode() == KeyEvent.VK_RIGHT) right = false;
                   if (e.getKeyCode() == KeyEvent.VK_UP) up = false;
                   if (e.getKeyCode() == KeyEvent.VK_DOWN) down = false;
                   repaint();
    public void start()
              // Make sure the thread hasn already been created
         if (animThread == null) {
         animThread = new Thread(this, "anim");
         animThread.start();
    public void run() {
              // Create a current thread.
              Thread myThread = Thread.currentThread();
         // As long as the thread is created, keep redrawing the
         // canvas and then pausing for 10 miliseconds.
         while (animThread == myThread) {
                   repaint();
         try {
              Thread.sleep(10);
         } catch (InterruptedException e){}
    public void paint(Graphics g)
              if (offImage != null) {
              g2.drawImage(offImage, 0, 0, null);
         // Overide the update() method
    public void update(Graphics g) {
              Dimension d = getSize();
              // Create the offscreen graphics context
              if ((offGraphics == null)
              || (d.width != offDimension.width)
              || (d.height != offDimension.height)) {
              offDimension = d;
              offImage = createImage(d.width, d.height);
              offGraphics = offImage.getGraphics();
              // Erase the previous image
              offGraphics.setColor(getBackground());
              offGraphics.fillRect(0, 0, d.width, d.height);
              offGraphics.setColor(Color.black);
              paintFrame(offGraphics);               // Paint the frame into the image
              g.drawImage(offImage, 0, 0, null);     // Paint the image onto the screen
    public void paintFrame(Graphics g) {
              Graphics2D g2d = (Graphics2D)g;
              g2d.drawImage(panda, pandax, panday, this);
              if (pandabool) {               // If pandabool==true, animate the panda =)
                   if (pandax>400) pandax=0;
                   if(pandax<0)pandax=400;
    public void stop()
         animThread = null;
              offImage = null;
              offGraphics = null;
    public void destroy(){}
    hi everyone, i'm new to java and i'm trying to wirte a keyListener to makes my image move. btw there are no compiling errors but the key is not working. hope that someone can help me. appreciate

    You have a Move() function that you're not calling! Not much use unless you place a call to it in your run() function, eh?
    Next time you post code, use the  tags.

  • JDeveloper compile error without detailed message

    Hi all.
    When compiling my application i get compiler error on one EO without detailed message. When i check and validate source in xml everything seems to be ok. Are there any settings to further investigate the problem. I'm using jDeveloper 11.1.2.0 developing ADF application.
    Suggestions welcome.
    Edited by: user5866800 on 20.12.2011 13:49

    If i open xml file, everything is colored with green.i cant comment on this statement. because am not using release2.
    did you change anything .xml which you mentioned.?
    how did you generated EntityImpl for the EO?

  • Working with generics generates a compilation error

    hi again,
    i?m trying to work with generics but when i try to compile my work i get a "generics are not supported in -source 1.4" error, i am working with BlueJ, and i have jdk1.5.0_06 installed in my computer, why am i getting this error? is there any parameter I need to change in blueJ, if ti is so, Which one?
    thanks again...

    I actually think that the OP is compiling with Java 5, but he has set source compability to 1.4 on the project (or default settings). The error message "generics are not supported in -source 1.4" indicates the the compiler knows about generics.
    @OP. Look for something like source compability. I have never used BlueJ, but I would guess that you can find it under building/compiling, probably in some project settings.
    Kaj

  • Compilation errors with JDeveloper 10.1.2.2.0

    Hello,
    I want to change my environment work. First I worked with Eclipse (Europa, jre 1.6), I have no error with my following code source :
    private List<String> lString;
    and now I have a compilation error with the same code
    ' Error(43,14): <identifier> expected '
    I think it's a compiler version problem but I'm not sure and I don't know how to change the compiler version.
    If someone have any idea, I will be happy to receive response.
    Thanks

    JDeveloper 10.1.2.2.0 doesn't support neither JDK 1.6 nor JDK 1.5.
    --olaf                                                                                                                                                                                       

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • 10.1.3 Internal compilation error after unistalling extension cwd4all

    I installed the cwd4all extension from the "check for updates" wizard.
    Then i decided that I didn't need it so I uncheck it from the Tools>Preferences>Extensions but when I tried to compile apreviously working class I got an "Internal compilation error, terminated with a fatal exception" error.
    Rechecking (i.e. reinstalling) the extension solved the problem, so then I removed both the jar and the relative folder from the extensions directory and I got the same error.
    I don't want to reinstall the extension.
    Any suggestions?

    Hi,
    Extensions that are provided on the "Open Source and Partner Extensions" extension center are written by third parties and come with absolutely no warranty or guarantees whatsoever.
    If you want to make sure you're running JDeveloper in a completely supported mode, you should uncheck the "Open Source and Partner Extensions" update center on the "Source" page of Check for Updates before checking for updates (or if you're installing updates via the automatic check balloon, only select extensions which are marked as being from the "Official Oracle Extensions" update center).
    Brian

  • How do I add an included jsp to my project and not get a compile error?

    Hi,
    I have a project with some included jsp's however if I add them to the project, when I build I get a compile error as the jsp uses variables from the calling jsp.
    Any ideas on how to get round this.
    Thanks
    DM

    There are two main ways that I deal with this problem (yeah, it sucks, but it sort of makes sense that it happens...) (I presume you're talking static include here...)
    #1 - name the included file with an extension that JDev will not try to compile (.jspf - for JSP Fragment - is common) Then it will be compiled in with the including page, but won't gag the project compilation. Advantage - it works, and you find out at compile time if you hosed up the variable reference. Disadvantage: JDev tries really, really, really hard to keep you from naming a JSP file with an extension of .jspf I normally create the .jsp file in JDev, remove it from the project, rename the file outside of JDeveloper, then add it back to the project - pain in the butt, but it works (and you probably aren't building scads of these included files...)
    #2 - add the variable to be referenced to the pageContext implicit object as an attribute in your including page (ex, <% pageContext.setAttribute("myVar", myVar); %>), then reference that attribute in your included JSP (ex, <%= pageContext.getAttribute("myVar") %>) . It will compile fine (as the compiler has no way of knowing if the pageContext attribute actually exists, it just sees that the syntax is good and motors along merrily. Advantage: don't have to have differently named JSP files (which isn't actually a big deal). Disadvantage: You hvae to add the variable to the pageContext (and you have to always add Object derivatives, as primitives won't go into a hash) and you don't find out if you screwed the variable up until runtime (when it tries the getAttribute, which could return null if you didn't properly set it to start with) vs at compile-time w/ the direct reference.
    HTH!
    Jim

  • Internal compilation error, terminated with a fatal exception

    Hi there,
    I am getting the following error when I try to rebuild my application:
    Internal compilation error, terminated with a fatal exception
    It was working fine till yesterday. I tried to reinstall the Jdevelolper wihout any success. Any help will be appreciated. I am using jdeveloper 10.1.2.1.0 build 1913
    Thanks

    Hi..
    I am also facing the same problem..
    My whole project was working fine..and when I was just about to deploy in Server , I am getting this error.
    "Internal compilation error, terminated with a fatal exception"
    If anyone knows how to resolve it, please let us know..
    Thanks in Advance,
    Nisha

  • Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.ora

    Compiler error "oracle.xml.parser.v2.XMLElement" not found in class com.oracle.demos......?
    I am currently testing a simple sample application with a java code similar to the one shown at
    the bottom of this post.
    However during deployment/compilation the compiler gives an error:
    Error(26,23): XMLElement not found in class com.oracle.demos.orderbooking.ApproveImpl
    Additionally similar other errors appear:
    Error(23,66): JAXBException not found in class com.oracle.demos.orderbooking.ObjectFactory
    Error(51,58): UnmarshalException not found in class com.oracle.demos.orderbooking.ObjectFactory
    Error(9,92): Element not found in interface com.oracle.demos.orderbooking.Approve
    What's wrong?
    It seems to me that I have to add some (more) *.jar files/libraries to the project?
    Which *.jars and where should I add them in JDeveloper?
    source code:
    package com.oracle.demos.orderbooking;
    public class ApproveImpl extends com.oracle.demos.orderbooking.ApproveTypeImpl implements com.oracle.demos.orderbooking.Approve
    public ApproveImpl(oracle.xml.parser.v2.XMLElement node)
    super(node);
    }

    Hai James this the response I am getting can you please tell what should I write inside ora:getNodeValue() to get the value of node <genReturnText>
    The drag and dropping the variable name is not working, I have to write the path manually but I dont know how.
    <ns1:getRoutingAndFrameJumpersResponse xmlns:ns1="com.NetworkInstallations">
    -<com.GetRoutingAndFrameJumpersOutput>
    <destination>
    SW
    </destination>
    <e2EData>
    busProcOriginator
    </e2EData>
    <genReturnCode>
    40777
    </genReturnCode>
    <genReturnText>
    EMW_Get_Routing_And_FrameJumpers_Succeeded
    </genReturnText>
    <supplCode>
    ISY002
    </supplCode>
    <supplText>
    Transaction successfully completed.
    </supplText>
    <severityCode>
    S
    </severityCode>
    <retriable>
    false
    </retriable>
    </com.GetRoutingAndFrameJumpersOutput>
    </ns1:getRoutingAndFrameJumpersResponse>

  • Class javax.servlet.jsp.PageContext compilation error

    During Rebuild/compilation of the JSP files inside JDeveloper, I am encountering the compilation error "Error(548,78): method handlepageException (java.lang.Throwable) not found in class javax.servlet.jsp.PageContext. When I developed the same application under IBM WSAD, I included the library com.ibm.servlet.jar and will take care of it. Which Oracle Jdeveloper lib I need to include? Since it is a servlet library error, I tried to include the Oracle "Servlet APIC Classes" but it didn't fix the problem. Thanks in advance!

    hmmm... i had a look and it seems that what you are trying to "import" is actually in a package... instead of import try:
    package javax.servlet.jsp;you may need to go download this "package" and complile it in the directory you are working in.
    my advice: try the above statement (which does compile for me), if it doesn't work, you will need to find the source code for this package and compile it just like you do any other source code.
    hope this helps.

  • Compilation error:  Failed to read wsdl

    Dear Experts,
    I am getting issue during deployment of BPEL process. I have created a BPEL process with schema named TD_Init.xsd and I get deployed. Later I have changed my xsd content in the sense I have added some more elements on the same xsd and update my process. getting compilation error as
    Error: [Error ORABPEL-10903]: failed to read wsdl
    [Description]: in "bpel.xml", Global element declaration/definition of name '{http://www.example.org}ProcessRequestElement' are duplicated at the following locations:
    file:/F:/JDeveloper/jdev/mywork/TDRequest/TDIntegration/bpel/TD_Init.xsd [line#: 14]
    http://eway:8889/orabpel/default/RecommendProcess/TD_Init.xsd [line#: 14]
    http://eway:8889/orabpel/default/AdvanceIssue/TD_Init.xsd [line#: 14]
    There are at least two of them looking different:
    file:/F:/JDeveloper/jdev/mywork/TDRequest/TDIntegration/bpel/TD_Init.xsd [difference starting at line#:23]
    http://eway:8889/orabpel/default/RecommendProcess/TD_Init.xsd [difference starting at line#:23]
    [Potential fix]: If your site has a proxy server, then you may need to configure your BPEL Server, designer and browser with your proxy server configuration settings (see tech note on http://otn.oracle.com/bpel for instructions).

    Hi Rajesh,
    Thanks. You are having this issue because you are referencing the same xsd at a time with more than one process. Ensure that you reference the schema with its logical reference and use it within you local project directly. Even, if that does not work, then make it global and so all processes can use it .
    Example :
    You need to copy all your schemas into <ORACLE_SOA_HOME>/bpel/system/xmllib folder and access them using the following URL:
    http://<HOST NAME>:<PORT>/orabpel/xmllib/<XSD_PATH>
    For Example:
    http://localhost:7777/orabpel/xmllib/myxsd.xsd
    Regards
    A

Maybe you are looking for

  • Editable Attributes?

    Hi there, I am having some difficulty using dreamweaver's editable attributes for my template-based pages.  I've followed dreamweaver's help instructions but I keep getting error messages and I don't want to screw up my layout. I simply want the lock

  • Report custom requirement

    I have following data inside Table A: ID Group ItemKey Description 1 A AB123 Descr1 2 A HT090 Descr2 3 A MK009 Descr3 4 B TW189 Descr4 5 B ID876 Descr5 6 C UJL89 Descr6 I want to create a report with following result: Group ItemKey Description A AB12

  • Vendor stock

    I would like to know how to handle vendor stock. Actually, we create a Purchase order, says 1000 each for material X. When customer A place order 50 of material X, then we will inform vendor to delivery to customer, the rest of material X in vendor i

  • Move database files from one ASM diskgroup to another

    We are working on 11.2.0.3 RAC environment. We have an activity in which we have to move ASM database files from one diskgroup to another. We have the sufficient downtime for the activity. On checking MOS it says copying datafiles from "rman copy" co

  • Programs quit unexpectedly

    Im having a major problem with all of my programs. i'll start them up and 10-60 seconds later they'll quit. i have a power mac g3 blue and white with 352 megs of ram and im running os x 10.3.9. any clues or suggestions?