Error creating features in the packages - unknown command FUNCTION

Hello

I usually identify with the diagram of the system via the SQL command line and run my sql files. I have the database below and the test package. But I get the error:
Order unknown start "FUNCTION p...» ' - the rest of the ignored line

This is the database I load previously:

DROP TABLE Judete CASCADE CONSTRAINTS;
CREATE TABLE Judete
(
JD CHAR (2) PRIMARY KEY.
NumeJud char(10) NOT NULL UNIQUE,
Regiune CHAR (15) by default "Moldova" CHECK (Regiune IN ('Moldova', 'Transilvania', 'Banat'))
);

DROP TABLE Localitati CASCADE CONSTRAINTS;
CREATE TABLE Localitati
(CodPostal NUMBER (8) PRIMARY KEY,)
NumeLoc NON NULL, char (15)
Judet (2) tank,
FOREIGN KEY (Judet) made REFERENCE Judete (JD)
);

DROP TABLE Persoane CASCADE CONSTRAINTS;
CREATE TABLE Persoane
(NOC NUMBER PRIMARY KEY (15),)
NumePers NON NULL char (20)
PrenPers NON NULL char (20)
CodPostal NUMBER (10),
Such NUMBER (12) NOT NULL,
FOREIGN KEY (CodPostal) made REFERENCE to Localitati (CodPostal)
);

DROP TABLE Produse CASCADE CONSTRAINTS;
CREATE TABLE Produse
(CodProdus NUMBER (10) PRIMARY KEY,)
NumeProdus NON NULL, char (15)
Loan NUMBER (8) NOT NULL
);



DROP TABLE Vanzari CASCADE CONSTRAINTS;
CREATE THE Vanzari TABLE
(CodV NUMBER (8) PRIMARY KEY,
CodProdus NUMBER (10),
PersCNP Number (15),
DataV DATE NOT NULL,
NrProduse NUMBER (8) NOT NULL,
FOREIGN KEY (PersCNP) made REFERENCE Persoane (NOC),
FOREIGN KEY (CodProdus) makes REFERENCE Produse (CodProdus)
);

INSERT INTO Judete VALUES ('IS', 'Iasi', 'Moldova');
INSERT INTO Judete VALUES ("CJ", "Cluj", "Transilvania");
INSERT INTO Judete VALUES ("TM", "Timis', 'Banat');

INSERT INTO Localitati VALUES (200, "Vaslui", "IS");
INSERT INTO Localitati VALUES (201, 'Targu Frumos', 'IS');

INSERT INTO Localitati VALUES (202, 'Criseni', 'CJ');
INSERT INTO Localitati VALUES (203, "Dealu Botii", "CJ");

INSERT INTO Localitati VALUES (204, "Beba Veche", "TM");
INSERT INTO Localitati VALUES (205, "Blajova", "TM");


INSERT INTO Persoane VALUES (0001, "Ionescu", "Ion", 201, 0332504312);
INSERT INTO Persoane VALUES (0002, "Vasilescu", "Vasile", 203, 0332304612);
INSERT INTO Persoane VALUES (0003, "Ionescu", "Ion", 204, 0322564322);

INSERT INTO Produse VALUES (1, "Limp", 50);
INSERT INTO Produse VALUES (2, 'First', 80);
INSERT INTO Produse VALUES (3, 'Corn', 35);

INSERT INTO Vanzari VALUES (100, 1, 0001, to_date('2011-03-07','yyyy-mm-dd'), 5);
INSERT INTO Vanzari VALUES (101, 3, 0001, to_date('2011-02-07','yyyy-mm-dd'), 2);
INSERT INTO Vanzari VALUES (2, 102, 0002, to_date('2011-01-08','yyyy-mm-dd'), 7);
INSERT INTO Vanzari VALUES (1, 103, 0002, to_date('2011-03-08','yyyy-mm-dd'), 15);
INSERT INTO Vanzari VALUES (3, 104, 0003, to_date('2011-02-19','yyyy-mm-dd'), 9);
INSERT INTO Vanzari VALUES (105, 1, 0003, to_date('2011-03-29','yyyy-mm-dd'), 1);


the package is:

CREATE or REPLACE PACKAGE pachet_lab2
IS
FUNCTION prod_bine_vandut RETURN NUMBER;

END pachet_lab2;
/

CREATE OR REPLACE pachet_lab2 BODIES


FUNCTION prod_bine_vandut RETURNS the NUMBER IS
DECLARE
v_sale NUMBER (6);
V_nume char (15);
v_cod NUMBER (10);
BEGIN
SELECT max(p.pret * v.NrProduse) IN the v_sale DE Produse p, Vanzari v
WHERE the p.CodProdus = v.CodProdus;


SELECT p.numeProdus INTO v_nume Produse p, Vanzari v
WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;


SELECT p.codProdus INTO v_cod Produse p, Vanzari v
WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;

Return v_cod;
END prod_bine_vandut;



END pachet_lab2;
/



I need to change the schema that I use? How can I do?

Thank you
Paul
CREATE OR REPLACE PACKAGE BODY pachet_lab2 IS --you misse keyword PACKAGE 

FUNCTION prod_bine_vandut RETURN NUMBER IS
-- DECLARE is not allowed here
v_sale NUMBER(6);
-- ...

Good bye
DPT

Tags: Database

Similar Questions

  • Error, including icons in the package

    I try to include icons in my Air application. Unfortunately, during the phase of the package, I get the following errors:

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(18): error 303: Source/assets/icons/icon16.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(19): error 303: Source/assets/icons/icon32.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(20): error 303: Source/assets/icons/icon48.png icon does not appear in the package

    (/ Users/gene/Development/Projects/Flex/app/My-app.xml(21): error 303: Source/assets/icons/icon128.png icon does not appear in the package

    I found several threads dealing with this issue, but all say to do what I already do. I write my - app.xml file and the command I use in the hope that someone can see what I'm missing. Thank you.
    -App.xml:
    <? XML version = "1.0" encoding = "UTF-8"? >
    " < application xmlns =" http://ns.Adobe.com/air/application/1.5 ">
    com.baruconsulting.Myapp < id > < /ID >
    < version > 1.0.8 < / version >
    < file_name > Myapp < / name of the file >
    < programMenuFolder > Baru < / programMenuFolder >
    < initialWindow >
    < content > Myapp.swf < / content >
    < visible > true < / visible >
    < systemChrome > no < / systemChrome >
    < clear > false < / transparent >
    < width > 1000 < / width >
    < height > 750 < / height >
    < x > 50 / < x >
    < y > 50 / < y >
    < / initialWindow >
    < icon >
    < Image16x16 > Source/assets/icons/icon16.png < / image16x16 >
    < Image32x32 > Source/assets/icons/icon32.png < / image32x32 >
    < Image48x48 > Source/assets/icons/icon48.png < / image48x48 >
    < Image128x128 > Source/assets/icons/icon128.png < / image128x128 >
    < / icon >
    < / application >
    package command:
    ADT-package - stores pkcs12 - keystore temp.pfx Myapp.swf Myapp.air My - app.xml
    Thank you
    Gene

    Hello

    You must add your icon paths in the ADT command, (because they are not automatically added).

    Hopefully this might solve your problem.

  • Setup error during installation of the package of added value

    I just installed PVAT v 1.2.40. However during the installation I get an error - Setup PVAT Error (Ox8145030B). I have also tried to re - upload the files, and then repeat the installation with the same result. All ideas

    Richard

    Hi Rpayne32,

    What laptop you have exactly?
    Where did you downloaded package of added value?
    The operating system that is pre-installed in Toshiba or your own installation of Windows that you are using?
    Try you added value package update or new installation?

    In my opinion, you should check your antivirus or firewall. I think that something is blocking the installation.

  • Errors of installation of the packages of component of Blackberry in Eclipse

    I tried to install the Blackberry 4.7,0 and 5.0.0 component Packs.  Instructions found on the Blackberry developer, web site and followed them, but I get the following error:

    An error occurred collecting elements to install
    Error closing the output stream to net.rim.eide.feature.componentpack5.0.0/org.eclipse.update.feature/5.0.0.7 on repository file:/C:/Program Files/Eclipse /.
    Decompression C:\DOCUME~1\yyyyyyy\LOCALS~1\Temp\net.rim.eide.feature.componentpack5.0.0_5.0.0.74513675979636089606.jar error: invalid zip file format

    I use Eclipse Ganymede 3.4.1 on a Windows XP system.

    I'm going to help... Software updates... Software available... Add a Site...

    I put http://www.blackberry.com/go/eclipseUpdate in the location box and it comes back with the packs of two components but when I try and install a pack, he gets to halfway through the installation process, then displays the error message above.

    It seems that something is interrupting the download.  You have a type Internet Security software installed on your PC?  If so, please disable it during the installation.  Note that you need to remove your temp directory before you try to install it again.

  • Error of phase in the package class

    Im getting 1009 error null when you use this package...

    . ACE

    package com.exoot.shared {}

    import flash.display. *;

    public class adsx extends MovieClip {}

    public void adsx() {}

    stage.scaleMode = StageScaleMode.NO_SCALE;

    internship. Align = StageAlign.TOP_LEFT;

    }

    }

    }

    .fla

    import com.exoot.shared. *.

    var con: adsx = new adsx();

    I debug him, and it generates this error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    (pointing stage.scaleMode = StageScaleMode.NO_SCALE ;)
    Totally, I have no idea what is wrong! and I need your help...
    Thanks in advance.

    If you don't want to use it as a document class, you can listen to the added to the event and do your stuff on stage, once you get it-as follows:

    package com.exoot.shared

    {

    import flash.display. *;

    import flash.events.Event;

    public class adsx extends MovieClip {}

    public void adsx() {}

    addEventListener (Event.ADDED_TO_STAGE, doStageStuff);

    }

    private void doStageStuff(e:Event):void

    {

    trace ("got reference step");

    removeEventListener (Event.ADDED_TO_STAGE, doStageStuff);

    stage.scaleMode = StageScaleMode.NO_SCALE;

    internship. Align = StageAlign.TOP_LEFT;

    }

    }

    }

  • Don't get message error message after upgrade to WINDOWS 10. "An ERROR OCCURRED so THAT the RUNNING CMD_GETNEWMESSAGE COMMAND

    Component returned error 0x8055000a code
    It works for send e-mail but not retrieve messages

    It is resolved - I set windows to show all hidden files
    It may be also that I had a Windows Update

  • "Error 75 received since the package Index Server. Please contact the Support Center"


    SOLVED!

    http://www.O2K.org/

    This guy deserves a medal!

    Lenovo should be ashamed of their support center; not yet able to fix their own mistakes!

  • RefNum out: where on the palette of command/function?

    See photo. RefNum out looks like a dummy variable for sticking to the shift register if the register is not empty, I'm wrong?

    But I searched on the range of function/control, I can't find refnum outside, where is he?

    I don't know that there is a constant empty 'file refnum out', but it can be created in two ways, the first being a right click on a file function that creates a refnum and do a 'constant to create' another is by clicking on a thread of existing refnum, or in the instance of your business structure the terminal not connected, in this case, and do the same thing (essentially the same as the first), and a third is declining refnum byte stream on the FP control, will diagram and right-click a "constant change". All are a couple of more strikes at the keyboard and mouse clicks just by pulling on the palette.

  • an error appeared during shutdown. "The exception unknown software exception (0xc06d007e) occurred in the application at location 0x760fc41f hpsmartsynccalreminderapp.exe.

    I have windows 7 64-bit, Sp1 of HB. I use MSE as antivirus. When I shut down my PC, an error appeared "hpsmartsynccalreminderapp.exe the exception unknown software exception (0xc06d007e) occurred in the application at location 0x760fc41f" I have HP Pavilion Desktop (p2 - 1258 in.)

    Relates to the HP software

    http://bizsupport1.Austin.HP.com/bizsupport/TechSupport/document.jsp?objectID=c01923530&printver=true

  • 500 cannot determine the Package Id

    I exported my project of cascade in BlackBerry 10.0.9 beta3 SDK. "" It's OK when I install and run on my alpha dev, but when others install my sidebar file with DDPBinstaller, error "500 cannot determine the Package Id" occurs

    My package ID is like 'com.example.TestGPS '.

    How to solve this problem?

    I found the cause: bar file corrupted during the transfer of network...

  • Houston 25017 error creating line

    Hello

    Houston 25017 error creating line

    Get the above error message when updated Master detail Page

    Krishna

    Krishna

    Through your code. Small problem looks like with the setMaxLineNum method below... Please update it

    private void setMaxLineNum(Number lineNum)
    {
    mMaxLineNum = lineNum;
    //setAttributeInternal(MAXLINENUM, lineNum);
    } // end setMaxLineNum()
    

    I hope that helps!

    Thank you
    AJ

  • index on the column using custom function

    Can we create index on the column using custom function?

    http://www.dbasupport.com/Oracle/ora8/FBI.shtml

    Kind regards
    Kaila Mahesh

  • Could not publish the package of transfer - unknown error (failed the nfc connection)

    Hello

    I finally installed see almost all packages, only the transfer option is left.

    I have configured the server, installed a certificate, and now I want to publish the main image in the repository of transfer for the linked clone desktops.

    The beginning of the publishing process, it initializes, progress to 0% and he breaks up with an error message "could not publish the package to transfer."

    Everything is setuped very well, the repository is shared correctly, inside the folder "Processing" a new folder with the ID of the publication process is created, inside this folder is created a new folder named "work", but there is nothing inside.

    OK, I looked in the file transfer server debug log:


    2011-04-26 13:54:50, 776 < Thread-6 > [RepoMessageHelper] DEBUG message filter received: Type = RepoLifeCycle, RepoOperationName = COURSE, GUID = 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] unable to connect to the server esx1.atb - potsdam.de:902: unknown error 10060 (0x274c)
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] CnxAuthdConnect: returning false because CnxAuthdConnectTCP has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] CnxConnectAuthd: returning false because CnxAuthdConnect has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] Cnx_Connect: returning false because CnxConnectAuthd has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] Cnx_Connect: error message: unable to connect to server esx1.atb - potsdam.de:902
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] TicketNFCOperations::TicketNFCOperations: could not establish NFC connection: unable to connect to server esx1.atb - potsdam.de:902.
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: error opening of session of the NFC.
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: completed.
    2011-04-26 13:54:54, ERROR < MessageFrameWorkDispatch > 011 [ws_mvdi] failed to make the NFC connection to host ' esx1.atb - potsdam.de' while trying to generate files for transfer to desktop PC "serverDn.
    2011-04-26 13:54:54, ERROR 011 < PublishWorker-6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a > [PublishWorker] package transfer error editing: 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a com.vmware.vdi.transfer.imagerepository.PublishWorker.run(SourceFile:123)
    com.vmware.vdi.transfer.commoncontrol.TransferServerException: Mvdi error occurred during queue: mvdi, Tip: createTransferFilesForPublish. Mvdi error code: 1
    at com.vmware.vdi.transfer.commoncontrol.TransferServerException.fromFrameworkError(SourceFile:68)
    at com.vmware.vdi.transfer.imagerepository.DiskBasedPublishWorker.a(SourceFile:402)
    at com.vmware.vdi.transfer.imagerepository.PublishWorker.run(SourceFile:85)
    at java.lang.Thread.run(Thread.java:619)

    2011-04-26 13:55, 776 < Thread-8 > [RepoMessageHelper] DEBUG message filter received: Type = RepoLifeCycle, RepoOperationName = COURSE, GUID = 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a
    2011-04-26 13:55:12, 261 DEBUG < MessageFrameWorkDispatch > [ws_vmx] Rpci: send request = 'machine.id.get'
    2011-04-26 13:55:12, 261 DEBUG < MessageFrameWorkDispatch > [ws_vmx] Rpci: Envoy request = 'machine.id.get', reply ='vdi.broker.useSvi = 0;

    I searched on Google, the VMware KBs, this forum, I have no solutions for this problem.

    You have the forwarding server in the same ESX/Cluster as desktop computers to be transffered?

    Also check if the forwarding server can contact esx on port 902

    ----------------

    > [ws_mvdi] unable to connect to the server esx1.atb - potsdam.de:902: unknown error 10060 (0x274c)
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] CnxAuthdConnect: returning false because CnxAuthdConnectTCP has failed
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] CnxConnectAuthd: returning false because CnxAuthdConnect failed

    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] Cnx_Connect: returning false because CnxConnectAuthd has failed
    2011-04-26 13:54:54, DEBUG 011 [ws_mvdi] Cnx_Connect: error message: unable to connect to server esx1.atb - potsdam.de:902

    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] TicketNFCOperations::TicketNFCOperations: could not establish NFC connection: unable to connect to server esx1.atb - potsdam.de:902.
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: error opening of session of the NFC.
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: completed.
    2011-04-26 13:54:54, ERROR 011 [ws_mvdi] failed to make the NFC connection to host ' esx1.atb - potsdam.de' while trying to generate files for transfer to desktop PC "serverDn.

    ----------------------

    -noble

  • Error [PLS-00103: encountered the symbol "CREATE"] using PACKAGE

    Hi guys!
    When I compile this package, I get this error:
    PLS-00103: encountered the symbol "CREATE".

    How can I solve this problem?
    The compiled code is below:


    CREATE OR REPLACE
    PACKAGE CAMPO_PACK AS

    TYPE T_CURSOR IS REF CURSOR;

    PROCEDURE DeleteCode (OSDP NUMBER);

    END CAMPO_PACK;
    -body-
    CREATE or REPLACE PACKAGE BODY CAMPO_PACK as

    PROCEDURE DeleteCode(pCod NUMBER) AS
    BEGIN
    DELETE FROM campo
    WHERE cod = OSDP;
    END DeleteCode;

    END CAMPO_PACK;


    Thanks for the help,
    Anderson



    Published by: user8723300 on 08/13/2009 17:03

    Published by: user8723300 on 08/13/2009 17:04

    I use Oracle SQL Developer

    I know very well of this tool.

    The packet header and body are two separate objects and must be compiled separately. I suspect that the package body is somehow have included in package header and Developer SQL tries to compile all of these at once. You must understand how to compile the header first, then the body. Your code compiles if I use sqlplus. I had to first create the table, so I have included a slash (/) after the packet header and the other after that body. The slash tells sql more to run the buffer (in this case, to compile the object).

    SQL> create table campo (cod number);
    
    Table created.
    
    SQL> CREATE OR REPLACE
      2  PACKAGE CAMPO_PACK AS
      3
      4  TYPE T_CURSOR IS REF CURSOR;
      5
      6  PROCEDURE DeleteCode(pCod NUMBER);
      7
      8  END CAMPO_PACK;
      9  /
    
    Package created.
    
    SQL> CREATE OR REPLACE PACKAGE BODY CAMPO_PACK AS
      2
      3  PROCEDURE DeleteCode(pCod NUMBER) AS
      4  BEGIN
      5  DELETE FROM campo
      6  WHERE cod = pcod;
      7  END DeleteCode;
      8
      9  END CAMPO_PACK;
     10  /
    
    Package body created.
    

    If I remove the slash after the package header, sql more trying to compile all this at once, and I get the same error you get:

    SQL> CREATE OR REPLACE
      2  PACKAGE CAMPO_PACK AS
      3
      4  TYPE T_CURSOR IS REF CURSOR;
      5
      6  PROCEDURE DeleteCode(pCod NUMBER);
      7
      8  END CAMPO_PACK;
      9
     10  CREATE OR REPLACE PACKAGE BODY CAMPO_PACK AS
     11
     12  PROCEDURE DeleteCode(pCod NUMBER) AS
     13  BEGIN
     14  DELETE FROM campo
     15  WHERE cod = pcod;
     16  END DeleteCode;
     17
     18  END CAMPO_PACK;
     19  /
    
    Warning: Package created with compilation errors.
    
    SQL> sho err
    Errors for PACKAGE CAMPO_PACK:
    
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    9/1      PLS-00103: Encountered the symbol "CREATE"
    
  • Error when executing the ADF - BC command line Test Suite

    Hello

    I created a test project separate containing the Test Suite for the model of my ADF - BC application component.

    I need to run this test separately of jmeter project.

    The thin running tests of Jdev, but when I package the test project into a jar and try to run it from the command line, I get the following error:

    java.lang.NoClassDefFoundError: oracle/Houston/ApplicationModule

    to com.oracle.cs.cap.module.applicationModule.ServiceAMFixture. < init > (ServiceAMFixture.java:36)

    to com.oracle.cs.cap.module.applicationModule.ServiceAMFixture. < clinit > (ServiceAMFixture.java:15)

    to com.oracle.cs.cap.module.view.EntitlementReportDurationViewVO.EntitlementReportDurationViewVOTest. < init > (EntitlementReportDurationViewVOTest.java:11)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0 (Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance (unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance (unknown Source)

    the impossible (unknown Source)

    at org.junit.internal.runners.JUnit4ClassRunner.createTest(JUnit4ClassRunner.java:72)

    at org.junit.internal.runners.JUnit4ClassRunner.invokeTestMethod(JUnit4ClassRunner.java:79)

    at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51)

    to org.junit.internal.runners.JUnit4ClassRunner$ 1.run(JUnit4ClassRunner.java:44)

    at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)

    at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)

    at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42)

    at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)

    to org.junit.runners.Suite.access$ 000 (Suite.java:26)

    to org.junit.runners.Suite$ 1.run(Suite.java:93)

    at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27)

    at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37)

    at org.junit.runners.Suite.run(Suite.java:91)

    at org.junit.internal.runners.CompositeRunner.runChildren(CompositeRunner.java:33)

    at org.junit.internal.runners.CompositeRunner.run(CompositeRunner.java:28)

    at org.junit.runner.JUnitCore.run(JUnitCore.java:130)

    at org.junit.runner.JUnitCore.run(JUnitCore.java:109)

    at org.junit.runner.JUnitCore.run(JUnitCore.java:100)

    at org.junit.runner.JUnitCore.runMain(JUnitCore.java:81)

    at org.junit.runner.JUnitCore.main(JUnitCore.java:44)

    Caused by: java.lang.ClassNotFoundException: oracle.jbo.ApplicationModule

    java.net.URLClassLoader to $1.run (unknown Source)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass (unknown Source)

    at java.lang.ClassLoader.loadClass (unknown Source)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (unknown Source)

    at java.lang.ClassLoader.loadClass (unknown Source)

    ... more than 27

    The jar Test project is created as a file ADF library JAR with Model.jpr as the dependent project. This supports the project class dependencies

    All adf library dependencies are added to the Test project JAR manifest file, referring to a location lib / jars directory.

    I tried to create the ApplicationModule using the two class configuration (Configuration.createRootApplicationModule) as well as using the string of JDBC connection but both fail when I run the test cases regardless of jmeter.

    Everyone came across such an error? Help, please.

    Thank you

    Sapna

    Library in the manifest file references are NOT resolved as long as you do not use a special class loader that you do not.

    This isn't a problem of jdev but a java problem. Only the class in your jar files are picked up. A pot in a pot is not looked into. You must set your classpath pots needed or you have expand all the pots as classes and put classes into your jar (which will be huge after doing this).

    Timo

    PS you can look in (JCL) Jar class loader | Free software development on SourceForge.net downloads

Maybe you are looking for

  • iTunes/Paypal - anybody know re payments?

    Hi - I've looked up and down, but can't find. If I configure itunes with Paypal as method of payment and to buy something, the Fund will spend the balance of my first (if configured on Paypal) or itunes will always be the card? Thank you!

  • How can I remove screensavers on XP PRO?

    I want to delete the screensavers that are listed on the properties under the screen savers. I have several that are NOT there (partially removed or what ever?), but the question continues to show up on top of the list of names. I tried the programs

  • Vista has changed my appearance settings and deleted the options to change their return!

    This morning I turned on my laptop which runs Windows Vista Edition Home Premium version. She changed my appearance of the window of a very delightful purple color, return to the icy blue standard. When I go to the appearance options it just gives me

  • Difficulty of my hotmail account

    My hotmail account has been locked and I don ' t understand why? Can it be fixed?

  • Web signals

    Hi all Is there code snippets disponibilitepour signals of web application for my application. I would like to know the procedures to do this? Suggestions in this regard will be helpful. Thanks and greetings NavaS