Which jar file should i use ??

Hi,
Which jar file should i use to import the following:
import org.apache.commons.lang.exception.NestableRuntimeExceptionI am getting package does not exist error.
Please help.
Thanks !

one of the apache commons Jar files... make sure they're in your classpath.

Similar Messages

  • Which jar files should I use for XSLT?

    I'm trying to do one of the examples from the Java/XML tutorial on this site. I can't get it to work. I started with the JAXP jar file and couldn't compile because it couldn't find one of the classes it needed. I then added the XALAN jar file to my CLASSPATH and got a clean compile but it crashes when I try to create the tranformer from the factory. It gives an error that says something like the SAX parser doesn't support the namespace. I tried various iterations of this. Could someone please tell me which jar files to include and in what sequence?
    Thanx,
    Cliff

    I have the Xerces jar followed by the Xalan jar.
    I get the following error:
    C:\JBUILDER4\JDK1.3\bin\javaw -classic -classpath "C:\JBuilder4\projects\ProjectXML\classes;C:\Java\lib\xerces.jar;C:\Java\lib\xalan.jar;C:\JBUILDER4\JDK1.3\demo\jfc\Java2D\Java2Demo.jar;C:\JBUILDER4\JDK1.3\jre\lib\i18n.jar;C:\JBUILDER4\JDK1.3\jre\lib\jaws.jar;C:\JBUILDER4\JDK1.3\jre\lib\rt.jar;C:\JBUILDER4\JDK1.3\jre\lib\sunrsasign.jar;C:\JBUILDER4\JDK1.3\lib\dt.jar;C:\JBUILDER4\JDK1.3\lib\tools.jar"  -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y com.craig.xml.util.Stylizer C:\JBuilder4\projects\ProjectXML\DataAreaDescTemplate.xsl C:\JBuilder4\projects\ProjectXML\DataAreas.xml
    javax.xml.parsers.FactoryConfigurationError: java.lang.ClassNotFoundException: org.apache.crimson.jaxp.DocumentBuilderFactoryImpl
         at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:149)
         at com.craig.xml.util.Stylizer.main(Stylizer.java:47)
    Exception in thread "main"
    This is my code:
    package com.craig.xml.util;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.FactoryConfigurationError;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.w3c.dom.Document;
    import org.w3c.dom.DOMException;
    // For write operation
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamSource;
    import javax.xml.transform.stream.StreamResult;
    import java.io.*;
    * Title:        ProjectXML
    * Description:  Test Project for XML work
    * Copyright:    Copyright (c) 2002
    * Company:
    * @author Clifton Craig
    * @version 1.0
    public class Stylizer {
      // Global value so it can be ref'd by the tree-adapter
      static Document document;
      public Stylizer()
      public static void main(String[] argv)
        if (argv.length != 2)
          System.err.println ("Usage: java Stylizer stylesheet xmlfile");
          System.exit (1);
              DocumentBuilderFactory factory =
              DocumentBuilderFactory.newInstance();
              //factory.setNamespaceAware(true);
              //factory.setValidating(true);
              try
                   File stylesheet = new File(argv[0]);
                   File datafile = new File(argv[1]);
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   document = builder.parse(stylesheet);
                   // Use a Transformer for output
                   TransformerFactory tFactory =
                   TransformerFactory.newInstance();
    //               StreamSource stylesource = new StreamSource(stylesheet);
                   StreamSource documentsource = new StreamSource(datafile);
                   DOMSource styler = new DOMSource(document);
                   Transformer transformer = tFactory.newTransformer(styler);
                   StreamResult result = new StreamResult(System.out);
                   transformer.transform(documentsource, result);
              catch (TransformerConfigurationException tce)
                   // Error generated by the parser
                   System.out.println ("\n** Transformer Factory error");
                   System.out.println(" " + tce.getMessage() );
                   // Use the contained exception, if any
                   Throwable x = tce;
                   if (tce.getException() != null)
                      x = tce.getException();
                   x.printStackTrace();
              catch (TransformerException te)
                   // Error generated by the parser
                   System.out.println ("\n** Transformation error");
                   System.out.println(" " + te.getMessage() );
                   // Use the contained exception, if any
                   Throwable x = te;
                   if (te.getException() != null)
                   x = te.getException();
                   x.printStackTrace();
              catch (SAXException sxe)
                   // Error generated by this application
                   // (or a parser-initialization error)
                   Exception x = sxe;
                   if (sxe.getException() != null)
                   x = sxe.getException();
                   x.printStackTrace();
              catch (ParserConfigurationException pce)
                   // Parser with specified options can't be built
                   pce.printStackTrace();
              catch (IOException ioe)
                   // I/O error
                   ioe.printStackTrace();
      }//End Main
    }

  • Which jar files should I use for javax.xml.transform.*?

    thanks

    You can use Apache's implementaion APIs for that. (Xalan.jar & xml-api.jar)
    http://xml.apache.org/xalan-j/trax.html

  • Which jar file(s) from the Eclipse plug-in to use

    Post Author: supermonkey
    CA Forum: JAVA
    Hi,I downloaded JRC plug-in and realized there are 47 jar files for CR. Now I'm wondering how many of these 47 files are being use when running CR from Java? My Java application resides on a server and users access the application thru web start. If users have to download all 47 jar files every time they run the application, it would su*k for them very much. Now does anyone know which jar files are actually being use during execution?The document here http://support.businessobjects.com/communityCS/TechnicalPapers/cr_xi_r2_jrc_deployment.pdf.asp told me that I only need about 20 or so of them. I plugged into the classpath or my test application and errors occurred. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/configuration/CompositeConfiguration        at java.lang.ClassLoader.defineClass1(Native Method)        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)        at java.security.AccessController.doPrivileged(Native Method)        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)        at com.crystaldecisions.reports.common.engine.ConfigurationManager.<init>(Unknown Source)        at com.crystaldecisions.reports.common.engine.Engine.configure(Unknown Source)        at com.crystaldecisions.reports.common.engine.Engine.getConfigurationManager(Unknown Source)        at com.crystaldecisions.reports.common.engine.a.a(Unknown Source)        at com.crystaldecisions.reports.common.engine.Engine.getKeycodeManager(Unknown Source)        at com.businessobjects.reports.sdk.a.a(Unknown Source)        at com.businessobjects.reports.sdk.a.<init>(Unknown Source)        at com.businessobjects.reports.sdk.a.if(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.void(Unknown Source)        at com.businessobjects.reports.sdk.JRCCommunicationAdapter.connect(Unknown Source)        at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.int(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportAppSession.initialize(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.for(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.for(Unknown Source)        at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)        at com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)        at JRCViewReport.launchApplication(JRCViewReport.java:26)        at JRCViewReport$1.run(JRCViewReport.java:50)        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)        at java.awt.EventDispatchThread.run(EventDispatchThread.java:121) Now does anyone know which jar files are actually being use during execution? Or are all them have to be present?  thanks,

    Post Author: supermonkey
    CA Forum: JAVA
    Hi Ted,Thanks for the reply. But what I was interested in knowing was how many of the Eclipse-CR plugin jar files does CR require for a successful execution? Or do I have to import all 47 jar files? thanks

  • Which exchange 2013 setup file should I use ?

    I am seeing exchange 2013 RTM setup file for download from microsoft, as well as exchange 2013 CU3 setup file. This is my first exchange 2013 box. which file should I use to install exchange ?
    Anand_N

    Hi,
    For new installs you should usethe most current build, CU3: http://www.microsoft.com/en-us/download/details.aspx?id=41175
    Cumulative Update builds are full Exchange server installers so there is no need to install RTM version and then apply CU.
    Robert Mandziarz | IT Administrator:
    CodeTwo
    If this post helps resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer
    faster.

  • Which jar file is used for IMonitorInfoProvider?

    I'm trying to create a repository service but I'm getting "outside the class path " error for com.sap.netweaver.km.IMonitorInfoProvider.
    I'm not sure which jar file have to pick as this is not available inside my IDE/../Plugins folder.

    Hi,
    Here is where you can find it.
    C:\usr\sap\J2E\JC00\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF/portal/portalapps/com.sap.netweaver.bc.crt/lib/bc.util.kmmonitor_api.jar
    So in your portalapp.xml set <b>com.sap.netweaver.bc.crt</b> in SharingReference.
    <property name="SharingReference" value=" com.sap.netweaver.bc.crt"/>
    Greetings,
    Praveen Gudapati
    [Points are welcome for helpful answers]
    Message was edited by:
            Praveen Gudapati

  • Which jar file for the classpath ?

    At my office on my machine i have weblogic 8.1 and tomcat installed.
    weblogic have 2.3 version of servlet and
    tomcat have 2.4 version of servlet
    weblogic is for production purpose (development of servlet, jsp and ejb)
    and tomcat is for my own practice. (just for servlet and jsp)
    i have weblogic.jar as well as servlet-api.jar in my class path.
    now when i compile my servlets which jar file the compiler will use to create the classes.
    if the compiler chooses servlet-api.jar will my servlet run in weblogic
    else
    if the compiler chooses weblogic.jar will my servlet run in tomcat

    i have weblogic.jar as well as servlet-api.jar in my class path.What does this mean? Do you have a system CLASSPATH environment variable?
    Bad idea.
    now when i compile my servlets which jar file the
    compiler will use to create the classes.You should set CLASSPATH using the -classpath option on javac.exe.
    The compiler won't "choose" anything, because it has no idea how you'll deploy. It'll use the one that you tell it to. If you have just a system CLASSPATH it'll always use the first JAR that it finds with the packages it needs.
    You need to specify exactly what you want the compiler to use.
    In the case of servlet.jar it might not matter, because that's pretty standard. JSPs and EJBs are another story, however. If you change deployment, it's best to recompile and repackage the Web app.
    Learn Ant. It'll help you automate this.
    %

  • Which jdbc driver should be used for sqlserver 2000 and where to put it.

    hi all,
    My odi is 11g. I met the error infor "Could not load JDBC driver class [com.microsoft.sqlserver.jdbc.SQLServerDriver]" when i tried to connect to a sqlserver2000 database.
    The questions are:
    1. which jdbc driver should be used for sqlserver 2000?
    2. which folder to put it in?
    3. how to set the physical topological "Microsoft Sql Server" to use this jdbc driver?
    failed tries:
    i downloaded the driver "SQL Server 2000 Driver for JDBC Service Pack 2" and put it in the following folders:
    1. .../oracledi/drivers, and set this path to CLASSPATH.
    2. .../oracledi/userlib didn't exist, i created it and put the driver in.
    3. .../oracledi/agent/dirvers, in which a readme file exists and told me to put drivers in this folder.
    All these works were not useful. when I start odi.sh and try to connect to sqlserver2000 database, the same error infor came up.
    my environment is:
    os: Linux 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
    java: Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)
    ODI: 11g, installed in /users/oracle/odi/
    please help me,thanks a lot.
    jun
    帖子经 Jun编辑过

    Hi,
    You should check which JVM version is required by that version of the driver, I think the 2.x versions require a 1.6 JVM
    What error are you getting? If it is the "com.sunopsis.sql.c: No suitable driver", it indicates it can't find the jar file (sqljdbc.jar) for the driver you specify.
    Drivers folder in ODI 11g is under
    C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi\agent\drivers.
    if you are using the standolone version
    On windwos :
    C:\Documents and Settings\<userName>\Application Data\odi\oracledi\userlib
    on linux
    $HOME/.odi/oracledi/userlib
    Have a read of :- http://download.oracle.com/docs/cd/E14571_01/core.1111/e16453/install.htm#CHDBIFAJ
    Thanks,
    Sutirtha

  • Which jar file to include for oracle.jdeveloper.webservices.runtime.Wrapped

    I am trying to make a Web Service client on my jakarta tomcat server....
    I used JDeveloper for generating my client .java file but i dont know which jar to include for oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub.
    Somebody pls tell me which jar file i need to copy for this thing to run successfully .... thx

    Hi,
    After compatibility problems between stub generated with JDeveloper 10.1.3 and Oracle Application Server 10g (9.0.4), i decide to downgrade the project to JDeveloper 10.1.2, then more problems... the wsdl wich JDeveloper 10.1.3 accept perfectlly was not so well interpreted by JDev 10.1.2, and i have to do some adjustments on wsdl, then the code generated didn´t format well the soap message (namespaces).....and i made my self some code at the stub class....uffff.
    Now I have the java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub when the application run´s at the Application Server, and yes i include the jdev-rt.jar (included on 'JDeveloper Runtime' library)
    Any clues (changing the technology is not an option ...for now)?
    Thank´s

  • Which jar file has the class TaskFlowBindingAttributes?

    Hi,
    I'm using JDeveloper version - 11.1.1.6
    I want to know which jar file consists the TaskFlowBindingAttributes class?
    I looked into following location - JDEV_HOME\oracle_common\modules\oracle.adf.controller_11.1.1\ and didn't find this class in jar files located here. (adf-controller.jar, adf-controller-api.jar and adf-controller-rt-common.jar)
    Any inputs would be helpful.
    Thanks
    Ravi

    Hi,
    I found it in ADF 11g R2 documentation - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm#insertedID10
    I guess this is 11g R2 feature.
    I have a requirement to display the multiple regions dynamically. This feature suits my requirement perfectly, but unfortunately it is not available in 11g R1.
    Can we achieve the similar functionality in 11g R1 through other means?
    Thanks
    Ravi

  • Which jar file include class - weblogic.utils.UnsyncStringBuffer?

    When I compile my JSP file by using JDeveloper, but I got "Error: java.lang.NoClassDefFoundError: weblogic/utils/UnsyncStringBuffer". I don't know which jar file is including this class file, and where I can get that jar file?
    This is my JSP file header
    <%@page language="java" contentType="text/html;charset=UTF-8"%>
    <%@taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <%@taglib uri="cnt.tld" prefix="cnt" %>
    <%@taglib uri="cnt-util.tld" prefix="cnt-util" %>
    <%@taglib uri="c.tld" prefix="c"%>
    Thanks,
    lucy

    I doubt that a user who hasn't posted in 3+ years is going to wake up and answer you.
    Probably best for you to post your details in a new thread (linking to here if you think it adds value)
    You can always use Tools->Manage Libraries in JDeveloper and type the class name into the search box; it will tell you which libraries have the class.

  • Which Jar Files

    Hi,
    Can anyone tell me which jar files I have to add in my class path to resolve-class cannot be resolved issue of theses classes.
    com.sapportals.portal.prt.core.service.ServiceManager
    com.sapportals.portal.prt.service.content.IContentService
    Regards,
    Swapna

    hi,
    You can install jar class finder from
    http://www.alphaworks.ibm.com/tech/jarclassfinder
    or you can see the below weblog which deals with integrating jar class finder provided by IBM with your NWDS .
    Using JAR Class Finder
    Regards,
    Ganesh

  • In which jar file SAP NW(EP) connector class available

    hi
    i want to know in which jar file the javaconnector class is available and i'm developing one plugin to connect sap ep to sap km repository to fetch docs from repository. for this i need some java classes so pls help me out from this problem.....
    regards

    Hallo Rupesh,
    you could have a look at the following jars:
    bc.crt_api.jar                               bc.rf.framework_api.jar                      bc.rf.repository.service.serviceacl_api.jar  bc.rf.runtime_api.jar                        bc.sf.framework_api.jar                     
    bc.sf.service.scheduler_api.jar             
    bc.util.private_api.jar                     
    bc.util.public_api.jar
    for repository actions and for Security take these two into account:
    com.sap.security.api.ep5.jar
    com.sap.security.api.jar
    Javadocs for the KM-API, e.g. SPS15:
    https://media.sdn.sap.com/javadocs/NW04/SPS15/km/index.html
    From there you can start and simply search for the class-files within SAP-jars if you need anything else.
    Hope it helps,
    regards
    Christian

  • How to search for a class to know it is in which Jar file

    Hi Guys,
       Can any tell me how to search a class file. I have a set of Jar files in which the required class file is there. But i don't know in which Jar file the class is. Is there any way to find out.
    Regards,
    Gowtham K.

    Hi Gowtham,
    Please download the Class locator from the following site. This will help to know what you are looking for.
    <b>http://www.alphaworks.ibm.com/tech/jarclassfinder</b>
    <b>http://sourceforge.net/projects/classlocator</b>
    I hope this solves your problem.
    Regards
    Pravesh
    PS: Please consider rewarding points for helpful answer.

  • HT4839 Which apn setting should I use for my iphone 4 on net10

    Which apn setting should I use for iphone 4 on net10

    APN Settings for Net 10
    Cellular Data
    APN: att.mvno
    Username: (Blank)
    Password:(Blank)
    MMS (Blank)
    APN: att.mvno
    Username: (Blank)
    Password: (Blank)
    MMSC: http://mmsc.cingular.com
    MMS Proxy: 66.209.11.33
    MMS Max Size: 1048576
    MMS UA Prof URL: www.apple.com/mms/uaprof.rdf
    Type exactly whats on here on your settings.
    Procedure:
    1- Turn on your phone
    2- Get paperclip take out tray and put your non working sim card in- T-moble and simple mobile sim cards work great for me on this venture.
    3. Goto Settings>General>Cellular>Cellular Network
    At this point its very critical that you do this fast, Once you change the sim card to your net 10 the option Cellular Network will only stay on for a few seconds while it's searching for service. You will need to click on cellular once the Net10 sim card is in and click on Cellular network again.
    4. Get your paperclip take out the tray put in the Net 10 sim card
    5. Goto Cellular>Cellular Network while it's searching for service
    6. Type in your settings that I list above
    7. Scroll back to your main setting (Do not press your Home Button)
    8. Once you see your service up and running try out your web and send a picture message it should work.
    9. If it does'nt work you mistype one of the settings, it has to be exact or it wont work.
    10. Do the process all over again
    Keep this information and the sim card away for a later date in case you lose your setting I have'nt turned off my phone or let my battery die to find out if I lose my settings. One thing for sure I lost it when I update to the IOS 6.0.1.

Maybe you are looking for

  • Pre-plugin upgrade queries related to extractor delta

    Hi All, as part of plug-in upgrade, i'm aware that as a pre-plugin activity the delta queue has to be emptied before the upgrade(LO and 0FI_AR_3 for eg). Is it neccessary to pull in the records from datasources that uses the Delta process <b>'E'</b>(

  • How to view  "View Session" in Premium Access Zone

    Hi all, can you please tell me how can i view session... when iam trying to clicl on the link it is not showing any hyper link... is this link only for SAP employees or any other persons who have special access.. can please help me in this Regard Tha

  • Message:typing error in 5800 xm

    i recently upgraded to firmware v51 after updating  i m experiencing a strange problem """"while pressing O it types L  ---- the key just below it-----""""" and with other keys too pressing something and typing something else............ anyone plz g

  • How to recover songs that were deleted

    How do I recover songs that were deleted from itunes library and itunes acount and coputuer.

  • How to convert content of a Text file to String?

    Hi, I need to read the content of a text file and convert it into String and display it on to a JSP file. But the codings below don't work. Please advise me on how can i display the text file content. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~