How to import a .ear file in netbeans - urgent

Hi
Anybody can say how to import .ear (or) .war file in Netbeans editor?

Hey I am facing a similar problem:
I have this jar file lbswebservice.jar that I have to use for my application.
I added it to the classpath, I copied it in my WEB-INF/lib folder, but when I try to access classes in this package, it doesnt work.
For example the jar contains the package com.blipsystems.lbs.ws.messages.* ; that contains different classes, like the Campaign class.
I tried to use this class (just to create an object) in different context (through jsp, or just through java test classes), but it never works, i get the error: com.blipsystems.lbs.ws.messages.Campaign cannot be resolved to a type
I am a bit desperate here...

Similar Messages

  • How to include external .js file into .ear file using NetBean 5.5.1?

    is it possible to include external .js file into .ear file using NetBean 5.5.1? if not, then where should I placed the external .js file and how to write the src="xxx" element? (that is , how to write the path of "xxx"?)
    I am using JBOSS 4.2.2 GA as server
    thx!!

    Even this is also not possible because, the code in that package is developed by DWR and i am just adding it to my lib folder and importing the respective classes. In the same manner i need to include the *.js* file in the JSP.It took me about 3 minutes reading through the [DWR Getting Started|http://getahead.org/dwr/getstarted] page to learn that you don't have to do any of that. Perhaps you should read that page?

  • How to import a jar file in JSP

    How to import a Jar file in JSP Page.
    please reply its very urgent!

    Hey I am facing a similar problem:
    I have this jar file lbswebservice.jar that I have to use for my application.
    I added it to the classpath, I copied it in my WEB-INF/lib folder, but when I try to access classes in this package, it doesnt work.
    For example the jar contains the package com.blipsystems.lbs.ws.messages.* ; that contains different classes, like the Campaign class.
    I tried to use this class (just to create an object) in different context (through jsp, or just through java test classes), but it never works, i get the error: com.blipsystems.lbs.ws.messages.Campaign cannot be resolved to a type
    I am a bit desperate here...

  • How to import a XML file into the document?

    Hai,
    i had created a table using xml file....
    Now i want to import that xml file tabel into the document...
    Can any one tell me how to import the xml file into the document?
    thanks
    senthil

    Hai...
    this is senthil...
    i'm beginner for creating adobe indesign plugins..
    i want to import a html file in the document...
    i want to create a table by using html tags and
    that table will be imported into the document..
    How shall i do it?
    can any one plzz explain me?

  • How to import a PSD file into Indesign WITH layers so it can be edited/saved as an InDesign file?

    How to import a Photoshop file into Indesign CS6 so that it's layers show in InDesign and it can then be edited/saved as an InDesign file?

    MyTienN wrote:
    Someone had mentioned the possibility of saving each individual layer in Photoshop as a png file and importing into Indesign and adjusting it in there
    What do you mean by "adjust"? Editing of Photoshop images should be done in Photoshop.
    Sure, it's possible to save individual layers from an image in Photoshop as inidvidual files in a variety of formats, but what's the point? You could just as easily import the layered file, then copy/paste it into a new layer for each layer in the image and use layer visibility to control which ones show. I don't think that will do you a lot of good, though, if you use adjustment layers or opacity controls on the layer in Photoshop.

  • How to import external jar file

    i am using bcprov-jdk14-124.jar file for my project. i can import this jar file through eclipse project properties but this is not worklng when i create jar file for my project. This is worked in eclipse only. i want to use that jar file in my project current path. so any body help me how to import this jar file? ( i am using mac os to develop java project )

    You need to specify the classpath when you execute it outside of Eclipse.
    Kaj

  • How to import an .tar file in to NWDS

    Hi,
      Could any one let me know how to import an .tar file into NWDS
    Laasya.

    i don't think it is supported

  • How to import an Excel file

    Hi ,
    I amwriting a BDC Program..
    How to import a Excel File by Browsing the Excel file from the Directory and Storing that values in the internal table.
    Can any one send the code for this,
    Points will be awarded.
    Regards,
    Jayasimha Jangam.

    Hi,
          Create a select parameter. at selection screen, use FM F4_FILENAME to get the dialog box.
    see the sample code.
    *&      Form  display_dialog
          To display the pop up dialog box
    FORM display_dialog.
    Calling FM to display File Select dialog box
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         program_name        = syst-cprog
         dynpro_number       = syst-dynnr
        FIELD_NAME          = ' '
       IMPORTING
         file_name           = p_file .
    ENDFORM.                    " display_dialog
    FORM upload_data.
      DATA : lt_itab   TYPE STANDARD TABLE OF alsmex_tabline,
             ls_itab   TYPE alsmex_tabline,
             ls_upload TYPE ty_upload_data.
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
           EXPORTING
                filename                = p_file
                i_begin_col             = 1
                i_begin_row             = 2
                i_end_col               = 5
                i_end_row               = 50000
           TABLES
                intern                  = lt_itab[]
           EXCEPTIONS
                inconsistent_parameters = 1
                upload_ole              = 2
                OTHERS                  = 3.
      IF sy-subrc <> 0.
        MESSAGE i000 WITH text-t04.
        LEAVE LIST-PROCESSING.
      ENDIF.
      CLEAR ls_itab.
      LOOP AT lt_itab INTO ls_itab.
        CASE ls_itab-col.
          WHEN 1.
            ls_upload-matnr = ls_itab-value.
          WHEN 2.
            PERFORM convert_to_decimal USING ls_itab-value.
            ls_upload-bmeng = ls_itab-value.
          WHEN 3.
            ls_upload-idnrk = ls_itab-value.
          WHEN 4.
            PERFORM convert_to_decimal USING ls_itab-value.
            ls_upload-menge = ls_itab-value.
          WHEN 5.
            ls_upload-meins = ls_itab-value.
        ENDCASE.
        AT END OF row.
          APPEND ls_upload TO gt_upload.
          CLEAR ls_upload.
        ENDAT.
        CLEAR ls_itab.
      ENDLOOP.
    Deleting the contents of internal table
    FREE lt_itab.

  • How to import a *.dmp file (exported from 10g) to 8i database?

    Hi everybody!
    Could anybody tell me how to import a *.dmp file (exported from 10g) to 8i database?
    I have tried but it seemed to be error "wrong version".
    Thanks a lot!

    From 10.1.0 to 8.1.7 => Use the EXPORT 8.1.7 to export the data from the 10.1.0 database and IMPORT 8.1.7 to
    import the data into the 8.1.7 database.
    Metalink note 132904.1 Subject: Compatibility Matrix for Export & Import Between Different Oracle
    Nicolas.

  • How to import SQLite .db file from AIR project

    hi friends..
    how to import SQLite.db file from AIR project. and i want use this in my application.
    after importing can i update and delete the recordS?

    There's no import needed. You just open it using the AIR SQL APIs. If this database file was created outside AIR, it's not necessarily compatible, though. There are SQLite features and extensions that aren't supported in AIR.

  • How to import a flv-file (downloaded form YouTube) into iMovie?

    How to import a flv-file (downloaded form YouTube) into iMovie?
    It needs to be converted to which format?
    Suggestions how to do that?
    Thanks.
    Mattie
    The Netherlands

    http://perian.org (free).
    QuickTime Player Pro ($30).

  • How to make the ear file including the 3rd party jar files without menttion in the System Classpath.

    Hai Sir,
    I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
    Please help me sir.
    Case1)     1) I am using the struts and log4j frameworks and 3rd party jar files with
    weblogic8.1.
         2) I make the ejbs,webapplications and 3rdparty jar files, ear file the following
    dir structure .And i mentioned the Class-path including all jar files in the MANIFEST
    OF EAR FILE.
         While deploying the ear file it is giving following error.If log4j.jar does not
    mention in the Weblogic script file
         java.lang.NoClassDefFoundError: org/apache/log4j/Priority
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
    at java.lang.Class.getDeclaredFields(Class.java:1073)
    at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
    at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
    a:982)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
    ava:2792)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
    java:1478)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
    36)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
    5)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
    tainer(SlaveDeployer.java:2571)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
    veDeployer.java:2523)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
    er.java:2453)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
    .java:820)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
    536)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
    :494)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
    25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Please provide the soluation without mentioning classpath in the weblogic script
    .How to make the EAR file incliding ejbjar,webapplication and 3rd party jar files.
    Thanks & Regards,
    ASHOK SAMRAT
    [email protected]

    Refer to the section
    Handling Utility classes
    http://dev2dev.bea.com/products/wlserver/articles/musser.jsp
    thanks,
    Deepak
    "Ashok Samrat" <[email protected]> wrote:
    >
    Hai Sir,
    I am facing one problme in weblogic8.1 while depolying the .EAR FILE.
    Please help me sir.
    Case1)     1) I am using the struts and log4j frameworks and 3rd party jar
    files with
    weblogic8.1.
         2) I make the ejbs,webapplications and 3rdparty jar files, ear file
    the following
    dir structure .And i mentioned the Class-path including all jar files
    in the MANIFEST
    OF EAR FILE.
         While deploying the ear file it is giving following error.If log4j.jar
    does not
    mention in the Weblogic script file
         java.lang.NoClassDefFoundError: org/apache/log4j/Priority
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:1494)
    at java.lang.Class.getDeclaredFields(Class.java:1073)
    at weblogic.ejb20.deployer.EJBModule.disableImplClassLoader(EJBModule.java:1082)
    at weblogic.ejb20.deployer.EJBModule.setupEJBToImplClassDependencies(EJBModule.jav
    a:982)
    at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:419)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.j
    ava:2792)
    at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.
    java:1478)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:11
    36)
    at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:97
    5)
    at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareCon
    tainer(SlaveDeployer.java:2571)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(Sla
    veDeployer.java:2523)
    at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeploy
    er.java:2453)
    at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer
    .java:820)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:
    536)
    at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java
    :494)
    at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:
    25)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
    Please provide the soluation without mentioning classpath in the weblogic
    script
    How to make the EAR file incliding ejbjar,webapplication and 3rd party
    jar files.
    Thanks & Regards,
    ASHOK SAMRAT
    [email protected]

  • How to import a war file using JB_x

    Hi
    I need to move a few of *.war files from other IDE to JB_x, and further
    implement them (they are struts web-apps). I'm wondering how to import each
    of them (each war is a small project).
    I've tried extracting war, then creating new project to import the folder,
    but JB_x restructured the folder and deleted the source java files (which in
    /classes).
    Can any help?
    John woo
    Toronto

    For this you crate a deployment descriptor (if you have created the project as fusion web application, the descriptor is build automatically) for a war. Then you choose the project (viewController property normally) and select deploy and the name of the descriptor. This will create the war.
    To generate an ear you need an ear deployment descriptor which you define on the workspace. To generate the ear right click the workspace and select deploy and the name of the descriptor.
    Timo
    Edited by: Timo Hahn on 27.02.2012 23:01

  • Import Existing EAR file into JSE  8

    Hi
    Can anyone tell me how I can import an existing EAR file (generated outside of SJSE) into sun Java Studio Enterprise 8 using it to creating a project so I can use JSE8 as my development tool? The EAR file has been exported including the source code.
    Thanks
    John.

    There is create new �Enterprise Application with Existing Source� option in
    File -> New Project -> Enterprise wizard.
    This �imports an existing enterprise application into a standard IDE project.
    The enterprise application must conform
    to the J2EE BluePrints Project Conventions for Enterprise Applications
    (see http://java.sun.com/blueprints/code/projectconventions.html).
    This wizard also imports components that are nested in the enterprise application.
    Standard projects use an IDE-generated Ant build script to build and run your project.�

  • How to import a pdf file used by JWS into JWS resource

    Hi All,
    How can I import a pdf file as a JWS resource. That is, which option should I use to import the pdf file into JWS resource: "jar" or "nativelib"?
    The pdf file ( which is the user guide of my application) is not used by my java src files but it just needs to be in the JWS resource so that it gets auto-updated and I can have a shortcut placed in the start menu for the user to access it.
    TIA & Regards,
    Vivek
    Edited by: Vivekankumar on Mar 4, 2009 9:55 PM
    Edited by: Vivekankumar on Mar 4, 2009 9:57 PM

    I've got something similar in one of my apps.
    I'm using
        <related-content href="jar:http://host:port/APP/readme.jar!/readme.pdf">
          <title>readme</title>
          <icon href="http://host:port/APP/readme.gif"/>
        </related-content>
        <nativelib href="http://host:port/APP/readme.jar"/>And works fine. Only problem I've found: it doesn't work if I use explicit versioning (+version+ attribute).
    Bye.
    PS: actually, real href is jar:readme.jar!/readme.pdf; the one I posted is the one I'm reading in JWS viewer.

Maybe you are looking for

  • Is there a way to "reset" the games "played count" on the 5th Gen iPod Nano

    I was just looking through my new iPod Nano (16 GB), and happened to select all three games (Klondike, Maze and Vortex), but never played them, just looked and then quit out of each game. Now I have a "game played" count on all three games. I'm not s

  • Natural scroll for scrollbars as well as mouse

    Natural scroll moves the content instead of the viewport. – Great, I love it! However the scrollbars still move the viewport over the content. – This is confusing and muddies the otherwise great new way of scrolling. I would like for the scrollbar to

  • Kernel panic when waking from sleep

    My eMac (1Ghz, 256 Mb RAM, dual boot OS 9.2.2/OS X 10.2.8(upgraded from 10.2.4)) has a recurring but intermittent issue where it suffers from a kernel panic when waking from sleep. In the past I managed to fix the issue by resetting PRAM and NVRAM, b

  • Laptop do not poweroff

    Hello! I've got an Acer Aspire 1200, with a CPU Intel Celeron, 368MB of ram and 20gb of HD, everything works well but I can't shutdown the notebook, if I press shutdown from the LXDE menu the notebook just halts, but doesn't power off, is it a proble

  • Help needed on a Payroll Extractor 0HR_PY_1_CE

    Hi All, I am looking for the following information on a Payroll Extractor, as part of my project. -     Currently we are using an extractor 0HR_PY_REC_51 in our project. -     We intend to know if Payroll reconciliation with GL happens in the extract