Package com.adobe.flashaccess.sdk.policy does not exist

[ Problem ]
We are trying to create policy. We have set the class path and referring adobe-flashaccess-sdk.jar, adobe-flashaccess-certs.jar and also we have copied jsafe.jar into class path directory.
I am getting error. package com.adobe.flashaccess.sdk.policy does not exist error.
Is any other .jar file needs to be included.
[ Solution ]
Page 11 of the Protecting Content document lists all of the .jar files required to use the Flash Access SDK:
adobe-flashaccess-certs.jar
adobe-flashaccess-sdk.jar
bcmail-jdk15-141.jar
bcprov-jdk15-141.jar
commons-discovery-0.4.jar
commons-logging-1.1.1.jar
jaxb-api.jar
jaxb-impl.jar
jaxb-libs.jar
relaxngDatatype.jar
rm-pdrl.jar
xsdlib.jar
jsafe.jar or jsafeWithNative.jar
Please check to make sure you have all the above .jar files on your classpath.  You also may want to check out the sample code and Ant built script located in the samples directory of the Reference Implementation Command Line Tools.  The Ant script contains targets for both compiling and running the samples, including creating a policy.

No, I don't think you want to just copy the 4 jar files to your /lib/ext Java SDK directory. What you want to do is to run the Java3D install program to install Java 3D to the Java SDK or JRE you specify. The install will also copy some .DLL files since part of Java3D is implemented using native methods. Without the DLLs, I would guess that you can compile programs okay but will run into errors trying to run them. No clue why the install wouldn't work on XP, but maybe the install needs a JRE to run and you need to install Sun's JRE or SDK using their install program - Microsoft used to include their own Java SDK implementation in Windows, but then took it out for Windows XP to try and deprecate Java. The install EXE might be expecting a Windows registry setting that points to a JRE or SDK for it to use.

Similar Messages

  • RuntimeError in mapping.......package com.itc.xi.mapping.udf does not exist

    while testing a maaping, one of the UDFs threw the following runtime error...
    Error: package com.xxx.xi.mapping.udf does not exist...
    moreover, whats the CLASSPATH of the java package com.itc.xi.mapping.*
    Message was edited by:
            sudeep dhar

    Hi,
    You seem to be referring to some extrenal class in your UDF and this class is not available under imported archives.
    Please check what is the class being refefferd and make sure it is in the imported archives,.
    Regards
    Bhavesh

  • Com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required ext

    [ Problem ]
    I’m running the sample encryption code and I’m running in to this exception:
    "com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required extended key usage".  I tried looking it up on javadocs but it doesn’t really tell me what’s causing it.  I get this error when encryptContent is called.  Is this something in my settings/environment or something with the certificates?
    [ Solution ]
    If you are using the EncryptContent.java sample code, please check which credential you are using for the "packagerCredentialFile" variable.  Make sure this is pointing at the .pfx file containing the packager credential.

    [ Problem ]
    I’m running the sample encryption code and I’m running in to this exception:
    "com.adobe.flashaccess.sdk.cert.ServerCredentialException: Certificate does not have the required extended key usage".  I tried looking it up on javadocs but it doesn’t really tell me what’s causing it.  I get this error when encryptContent is called.  Is this something in my settings/environment or something with the certificates?
    [ Solution ]
    If you are using the EncryptContent.java sample code, please check which credential you are using for the "packagerCredentialFile" variable.  Make sure this is pointing at the .pfx file containing the packager credential.

  • Error :  java:6: package com.crystaldecisions.sdk.framework does not exist

    Hi All,
    I am using BO XI R2 version.
    I am facing issues with BOE Java SDK web application.
    In this application, I have just by-passed login page(jsp page) and logout from BO. But, it is throwing errors as mentioned below:
    Generated servlet error:
    E:\BusinessObjects\Tomcat\work\Catalina\localhost\_\org\apache\jsp\BO_005fHello_005fWorld\login_jsp.java:6: package com.crystaldecisions.sdk.framework does not exist
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    Application gives errors for these two packages:
    package com.crystaldecisions.sdk.framework
    package com.crystaldecisions.sdk.exception
    Can anyone please tell me the solution?
    From where I can get the jar files to resolves these problems?
    I tried to search these jar files in BO installation folder but was not able to get.
    Can anyone tell the exact folder path for these jar files, if it is there.
    Or any link to download jar files.
    Thanks in advance.

    Hello ,
    -In order to run your application, please copy the Business Objects JAR files from the installed location.
    -For example : If you have installed Business Objects on C:
    then , go to the path :
    C:\Program Files\Business Objects\common\3.5\Java\Lib and copy all the Jar files from that location including JAR files that are present in the external folder.
    -Paste these JAR files inside lib folder of your application.
    -The class com.crystaldecisions.sdk.framework comes under cesession.jar
    Thanks,
    Chinmay

  • Acrobat 9 Download on Wondows 8.1 produces Error 1309 and 2318: Adobe/Standard/Data.cab does not exist

    Has anyone had this error during download on Windows 8.1?  Thanks

    Hi Bryan,
    Thank you for posting on the Adobe forums, this error occurs when the installer cannot locate the Data1.cab file on your system or the required files with in the Dat1.cab is missing.
    The only resolution to it is to download again, also, Acrobat 9 is not tested and developed for Win 8.
    Thanks,
    Vikrantt Singh

  • Error, package does not exist, thrown when calling jsp page

    Hi
    I have downloaded sample jsp pages for interaction with Crystal reports. When I compile these jsp pages in NetBeans 3.6 there are no problems. When I deploy these pages and associated libraries to Tomcat 5, I get the following error when attempting to call the jsp page, but all the jars used in NetBeans are present in the web-inf/lib directory and I have looked in the jars and found classes in the com.crystaldecisions.report.web.viewer package. I have been unable to find any information after googling and looking at the jakarta bug database. What am I doing wrong?
    The error...
    2004-09-22 17:40:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    [javac] Compiling 1 source file
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:9: package com.crystaldecisions.report.web.viewer does not exist
    import com.crystaldecisions.report.web.viewer.*;
    ^
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
    symbol : class CrystalReportInteractiveViewer
    location: class org.apache.jsp.SimplePreviewReport_jsp
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    ^
    An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
    Generated servlet error:
    Note: E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
    3 errors
         at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
         at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
         at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
         at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
         at java.lang.Thread.run(Thread.java:534)
    The offending page is ....
    <%
    /*==========================================================================
    INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE INTERACTIVE VIEWER
    ============================================================================
        - Create a Viewer object
        - Set the source for the  viewer to the client documents report source
        - Process the http request to view the report
        - Dispose of the viewer object
    // Create an Interactive Viewer
    CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
    // Set the name for the interactive viewer
    viewer.setName("Crystal_Report_Interactive_Viewer");
    // Set the source for the interacive viewer to the client documents report source
    viewer.setReportSource(clientDoc.getReportSource());
    // Process the http request to view the report
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    // Dispose of the viewer object
    viewer.dispose();
    %>included in...
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.*"%>
    <html>
    <head>
    <title>Begin Here - Simple Preview Report</title>
    </head>
    <body>
    <%
    /*=================================================================
    WORKING WITH THE REPORT APPLICATION SERVER AND JSP TO VIEW REPORTS
    ===================================================================
    Authors Name: Ken Andony
    Technology supported by the app: Report Application Server
      ALWAYS REQUIRED STEPS
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only
      INSTANTIATE THE REPORT VIEWER
       - Create a Viewer object
       - Set the source for the viewer to the client documents report source
       - Process the http request to view the report
       - Dispose of the viewer object
    ==================================================================*/
    * This line creates a string variable called reportname that we will use to pass
    * the Crystal Report filename (.rpt file) to the OpenReport method contained in
    * the AlwaysRequiredSteps.jsp.
    String reportName ="SimplePreviewReport.rpt";
    %>
    <%
    /* ALWAYS REQUIRED STEPS
      Include the file AlwaysRequiredSteps.jsp which contains the code
      for steps:
       - Create a new Report Application Session
       - Create a Report Application Server (RAS) Service
       - Set the RAS Server to be used for the service
       - Initialize the RAS Service
       - Create the report client document object
       - Set the RAS Server to be used for the report client document
       - Open the report, and set the open type to Read Only */
    %>
    <%@ include file="AlwaysRequiredSteps.jsp"%>
    <%
    /* INSTANTIATE THE REPORT VIEWER
      There are three Report Viewers:
      1.  Crystal Reports Interactive Viewer
      2.  Crystal Reports Viewer
      3.  Crystal Reports Parts Viewer
      The choices are CrystalReportsInteractiveViewer.jsp, CrystalReportsViewer.jsp,
      CrystalReportsPartsViewer.jsp
      Note that to use this include you must have the appropriate .jsp file in the
      same virtual directory as the main jsp page.
      =============================================================================
        DISPLAY THE REPORT
        - display the report using one of the Thin Client DHTML viewers
       Include one of the DHTML Viewers.
        - Crystal Reports Interactive Viewer          =   CrystalReportsInteractiveViewer.jsp
        - Crystal Reports Viewer                                        =   CrystalReportsViewer.jsp
        - Crystal Reports Parts Viewer                         =   CrystalReportsPartsViewer.jsp
        Note** - To use the report parts viewer successfully you are required to
        choose and name three objects in the report to Node0, Node1 and Node2.
        You can access an objects name by using the Format Editor dialog box.
        For more information on the Format Editor Dialog Box and setting objects
        names, please refer to the Help Contents (Help Menu->Crystal Reports Help)
        or by pressing F1
      =============================================================================*/
    %>
    <%@ include file="CrystalReportsInteractiveViewer.jsp" %>
    </body>
    </html>

    Thanks Tien-Chih Wang. It worked...well I'm getting a new set of errors, but progress has been made!
    I understand that if placed in the common directory the jar will be available to all webapps but why does it make a difference whether a jar file is placed under the $TOMAT_HOME/common/lib or $TOMAT_HOME/webapps/appname/web-inf/lib directory if I only need to access the jar from one webapp?

  • Compiler exception - package does not exist?

    I am new to NWDS and J2EE.  I followed the steps in the tutorial as indicated in the below link:
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/netweaver-application-server/_netweaver-application-server/a-c/Creating%20your%20First%20J2EE%20Application.pdf
    I did everything inside up to the last moment after I deployed my EAR and tried to run from the portal but got Application error.  I checked the defaultTrace log file from the portal server and notice these errors:
    #1.5 #001A6431E0FE0020000000750000155C0004B9B284863A19#1330076285575#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/CalculatorEar#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Guest#0##40C36AF65ECB11E18721000000978DDA#40c36af65ecb11e18721000000978dda-0#40c36af65ecb11e18721000000978dda#SAPEngine_Application_Thread[impl:3]_21##0#0#Error#1#/System/Server/WebRequests#Plain###application [Calculator] Processing HTTP request to servlet [jsp] finished with error.
    The error is: com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while executing the compilation process: [G:/usr/sap/EPD/JC00/j2ee/cluster/server0/apps/sap.com/CalculatorEar/servlet_jsp/Calculator/work/jsp_Calculator1330076284538.java:41: package com.sap.examples.calculator.beans does not exist
              com.sap.examples.calculator.beans.CalcProxy calc = null;
                                                     ^
    G:/usr/sap/EPD/JC00/j2ee/cluster/server0/apps/sap.com/CalculatorEar/servlet_jsp/Calculator/work/jsp_Calculator1330076284538.java:42: package com.sap.examples.calculator.beans does not exist
                   calc = (com.sap.examples.calculator.beans.CalcProxy)pageContext.getAttribute("calc", PageContext.SESSION_SCOPE);
                                                                     ^
    G:/usr/sap/EPD/JC00/j2ee/cluster/server0/apps/sap.com/CalculatorEar/servlet_jsp/Calculator/work/jsp_Calculator1330076284538.java:48: package com.sap.examples.calculator.beans does not exist
                        calc = (com.sap.examples.calculator.beans.CalcProxy) Beans.instantiate(getClass().getClassLoader(), "com.sap.examples.calculator.beans.CalcProxy");
                                                                             ^
    3 errors
    The thing I don't understand is the "comp.sap.examples.calculator.beans" class has already been included inside the EAR (I used my zip tool to check the EAR file and confirmed it's there), why did the compiler still complain that the package does not exist?  Any great guys & gals out there can help this poor newbie who spent the past 5 hours searching for Google for answers but couldn't find any??
    Thank you.
    Brian

    Perhaps I should give out more information about this problem.
    The EAR file contains a WAR file and a JAR file. 
    The WAR file contains a JSP and it contains codes to refer to a java proxy class of package comp.sap.examples.calculator.beans.CalcProxy.
    So it seems the compilation error is triggered when it tries to compile the WAR file.
    I checked the structure of the WAR file using a zip tool.
    At the base it contains this:
    WEB-INF (a folder)
    Calculator.jsp (the JSP file)
    Inside the WEB-INF folder is these:
    classes (a folder)
    web-j2ee-engine.xml
    web.xml
    Inside the classes folder is a tree of subfolders to describe the structure of the CalcProxy class:
    classes -> comp -> sap -> examples -> calculator -> beans -> CalcProxy.class
    So the java class file and the JSP file is in the same bundle of the WAR file.
    Why the compiler is not able to find the class file inside the JSP?

  • Problem in compiling JDeveloper 11g R2 - package does not exist

    I did a clean all to my application and now me thousand mistakes of references appear during the compilation, which could have failed?
    Project: C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\CentauroWeb15.jpr
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ModificaProductosArchivoServlet.java
    Error(23,39): package com.bbog.centauro.negocio.comun does not exist
    Error(24,39): package com.bbog.centauro.negocio.comun does not exist
    Error(25,39): package com.bbog.centauro.negocio.comun does not exist
    Error(26,41): package com.bbog.centauro.persistencia.vo does not exist
    Error(27,41): package com.bbog.centauro.persistencia.vo does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ProcedimientoServlet.java
    Error(22,39): package com.bbog.centauro.negocio.comun does not exist
    Error(23,39): package com.bbog.centauro.negocio.comun does not exist
    Error(24,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ProcesaOpcionesServlet.java
    Error(17,39): package com.bbog.centauro.negocio.comun does not exist
    Error(18,39): package com.bbog.centauro.negocio.comun does not exist
    Error(19,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\interfaces\GeneracionArchivoVNoMonServlet.java
    Error(22,39): package com.bbog.centauro.negocio.comun does not exist
    Error(23,39): package com.bbog.centauro.negocio.comun does not exist
    Error(24,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ParametroValidacionServlet.java
    Error(22,39): package com.bbog.centauro.negocio.comun does not exist
    Error(23,39): package com.bbog.centauro.negocio.comun does not exist
    Error(24,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\timer\EnviarCronAutomaticoServlet.java
    Error(20,39): package com.bbog.centauro.negocio.comun does not exist
    Error(21,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ParametrosContingenciaServlet.java
    Error(3,39): package com.bbog.centauro.negocio.comun does not exist
    Error(6,48): package com.bbog.centauro.persistencia.exception does not exist
    Error(7,42): package com.bbog.centauro.persistencia.dao does not exist
    Error(9,34): package com.bbog.centauro.util.log does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\timer\EnviarPagosAutomaticoServlet.java
    Error(20,39): package com.bbog.centauro.negocio.comun does not exist
    Error(21,39): package com.bbog.centauro.negocio.comun does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\administracion\ConsultaParametroValidacionServlet.java
    Error(22,39): package com.bbog.centauro.negocio.comun does not exist
    Error(23,39): package com.bbog.centauro.negocio.comun does not exist
    Error(24,39): package com.bbog.centauro.negocio.comun does not exist
    Error(25,41): package com.bbog.centauro.persistencia.vo does not exist
    C:\JDeveloper\mywork\CentauroVirgen\CentauroWeb15\src\com\bbog\centauro\controlador\servlet\login\DatosLoginServlet.java

    Hi.
    Please always state the JDev version you use when you ask a question.
    What do you mean exactly by cleanup? From the look of it, either you changed the package declaration at the top of you Java files for something that doesn't exist or renamed the on-disk directories in the package structure to something that doesn't match the package declarations in your code.
    Do not forget there is a direct correlation between packages names and directories.
    So, if you have package
    com.oracle.blueberryYou will have the following on the disk:
    src\com\oracle\blueberryBest Regards,
    Frédéric.

  • Packag does not exist

    I am currently working my way through the SAMS "Teach yourself JAVA2 in 24 Hours" book.
    One of the lessons at the beginning is about applets.
    I have downloaded the BETA version of JDK 1.4 and have entered the following code in an applet...
    import java.applet.*;
    import java.awt.*;
    public class RootApplet extends com.sun.java.swing.JApplet {
         int number;
         public void init() {
              number = 225;
         public void paint(Graphics screen) {
              super.paint (screen);
              Graphics2D screen2D = (Graphics2D) screen;
              screen2D.drawString("The square root of " +
                   number +
                   " is " +
                   Math.sqrt(number), 5, 50);
    When I try to compile this using javac, I get the message
    "package com.sun.java.swing.JApplet does not exist"
    Is swing not included in the 1.4 BETA version? Would I be better downloading the 1.3 version?
    Or do I not have a PATH or CLASSPATH set that I should?
    Sorry to ask such a basic question
    TIA
    Mike

    instead of:
    public class RootApplet extends
    com.sun.java.swing.JApplet {try:
    public class RootApplet extends javax.swing.JApplet {Swing has been in the javax.swing package since AFTER JDK1.2 BETA 4 (don't confuse this with JDK1.4 BETA). So maybe the author of the book was using an OLD BETA of JDK1.2 (that's way back, in computer-years). Since then, We've had 1.2, 1.2.2, 1.3, 1.3.1 and now 1.4 BETA, and Swing is still javax.swing. You should check the author's website, as I found the source code for your RootApplet example using javax.swing.JApplet as well:
    http://www.cadenhead.org/book/java2412/
    oh, haha, just noticed, right there on the webpage:
    "All readers should make note of an important change that affects the book:
    The name change to the Swing package of classes described on Hour 13 "
    Jack

  • Getting package does not exist error

    Hi,
    I am trying to run my first JSF project but getting following exception:-
    org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.jsf_core does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp
    PWC6199: Generated servlet error:
    package com.sun.faces.taglib.html_basic does not exist
    I had created a war of my project and deployed on the glass fish server. I have put the required jar files in WEB-INF-> lib folder (jsf-api.jar, jsf-impl.jar, jstl-1.1.0.jar).
    Wondering why its not able to find the packages.
    Following is my index.jsp:-
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <html>
      <head><title>Simple jsp page</title></head>
      <body>
      <f:view>
          <h:outputLabel value="Hello, world"/>
      </f:view>
      </body>
    </html>
    Please help.
    Thanks,
    Parikshit

    And why do you think those jars are required? Guess work? Glassfish already provides them, remove them from the application deployment and try again.

  • Classloading error: package net.sf.jasperreports.engine does not exist

    Hi all!
    We are migrating one of our web applications to SAP Web AS (Netweaver CE SR5) but we are facing one problem with finding an external library (Jasper Report).
    Our web application uses Spring and Hibernate and works fine in Tomcat 5.5 or higher.
    The problem is that the package net.sf.jasperreports.engine cannot be found (stack below) despite the jasper report jar is included inside the WEB-INF/lib dir of our WAR.
    Our application´s structure is as follows:
    cpl.ear
    cpl.ear/lib (hibernate´s and other thirdy party jars)
    cpl.ear/Cockpit_oracle9_3_5_0.war
    cpl.ear/Cockpit_oracle9_3_5_0.war/WEB-INF/lib/jasperreports-1.3.1.jar
    Does any body know why the application can´t find the jasper report packages?
    Thanks and regards.
    Ballock.
    #1.5 #001EC91DBA01002200000002000007900096BE50A0E2AB09#1219343345836#/System/Server/WebRequests#JavaEE/cpl#com.sap.engine.services.servlets_jsp.server.application.WebEvents#Guest#916####88ee30106eff11dd8e03001ec91dba01#Application ##0#0#Warning#1#com.sap.engine.services.servlets_jsp.server.application.WebEvents#Plain###Error occured in invoking event "contextInitialized()" on listener class org.springframework.web.context.ContextLoaderListener.
    The error is: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service.load.report' defined in class path resource spring/model.services.xml: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class br.com.neolog.system.load.LoadReport: Constructor threw exception; nested exception is java.lang.IllegalStateException: net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:14: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:15: package net.sf.jasperreports.engine.data does not exist
    import net.sf.jasperreports.engine.data.*;
    ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:21: cannot find symbol
    symbol: class JREvaluator
    public class loadReport_1219343342726_788986 extends JREvaluator
                                                         ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:28: cannot find symbol
    symbol  : class JRFillParameter
    location: class loadReport_1219343342726_788986
        private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
                ^
    C:
    usr
    sap
    CE1
    J00
    j2ee
    cluster
    server0
    loadReport_1219343342726_788986.java:29: cannot find symbol
    symbol  : class JRFillParameter
    location: class loadReport_1219343342726_788986
        private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    Obs.: The stack above is just a part of the total error log
    Edited by: Ballock on Aug 21, 2008 9:46 PM

    I also tried to move the jasperreports-1.3.1.jar file to the cpl.ear/lib dir but the problem still happened.
    Please, does anybody know how to deal with this problem?
    Thanks and regards.
    Ballock.

  • Package does not exist even though the package is included in .java file

    package djvusearching;
    import org.apache.lucene.analysis.cjk.CJKAnalyzer;
    import org.apache.lucene.analysis.standard.StandardAnalyzer;
    import org.apache.lucene.queryParser.ParseException;
    import org.apache.lucene.queryParser.QueryParser;
    import org.apache.lucene.search.Hits;
    import org.apache.lucene.search.IndexSearcher;
    import org.apache.lucene.search.Query;
    import org.apache.lucene.search.Sort;
    import org.apache.lucene.search.SortField;
    import org.apache.lucene.store.Directory;
    import org.apache.lucene.store.FSDirectory;
    package org.apache.lucene.analysis.cjk does not exist;
    package org.apache.lucene.queryParser does not exist;
    package org.apache.lucene.queryParser does not exist;
    package org.apache.lucene.search does not exist;
    package org.apache.lucene.search does not exist;
    package org.apache.lucene.search does not exist;
    package org.apache.lucene.search does not exist;
    package org.apache.lucene.search does not exist;
    package org.apache.lucene.store does not exist;
    package org.apache.lucene.store does not exist;
    Here the main public class name is "DjvuSearching" which is called like
    as below :
    public static void main(String args[]) throws IOException, ParseException{
              DjvuSearching search = new DjvuSearching();
              search.Searching(args);
         }

    Have you included the package in your classpath?

  • "List does not exist" error using cfsharepoint

    I am trying to retrieve the contents of a SharePoint list via the cfsharepoint tag. I used the following code:
    <cfset p = structNew()>
    <cfset p.listName = "{7A81F7A3-B6E9-4990-B54A-937F591A402B}">
    <cfsharepoint
         action="getlist"
         params="#p#"
         domain="www.mysite.com"
         name ="SPList"
         password="mypassword"
         userName="myusername" />
    The server returns
    Cannot perform web service invocation getlist.
    The fault returned when invoking the web service operation is:
    AxisFault
    faultCode: {http://www.w3.org/2003/05/soap-envelope}Receiver
    faultSubcode:
    faultString: Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
    faultActor:
    faultNode:
    faultDetail:
        {http://schemas.microsoft.com/sharepoint/soap/}errorstring:
        List does not exist.
        The page you selected contains a list that does not exist.  It may have been deleted by another user.
        {http://schemas.microsoft.com/sharepoint/soap/}errorcode:0x82000006
    The list does exist, and the user account has access to it. I can access the list data from an RSS feed using cfhttp, I just thought it might be easier to work with the data if I accessed it using cfsharepoint instead. Any suggestions are appreciated.
    (On a side note, when I searched the Adobe Forums for "SharePoint getlist" it asked me if I meant to search for "harpoon gels." Harpoon gels!)

    I didn't know that about wget - interesting!
    I don't think there are any user-specific settings for Basic vs NTLM Auth, though. I suspect there's some other setting in SharePoint to control this. Unfortunately, SharePoint isn't a typical IIS web app.
    I'm glad I could help!
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.

  • Problem in WAD (The requested query / does not exist on the current server)

    Dear Guru's
    When i execute a Web Application in WAD in the selection screen suppose if i give Key product  as 86000 then check and execute i get correct data. Then if i come to  backpage (Selection screen again using backspace) and change Key product  as 86022  then check and execute then i get following error
    The requested query / does not exist on the current server
    System error in program CL_RSR_OLAP_VAR and form BAD STATE (see long text)
    Can any one please provide me some good solution...
    We are using BI 7.0 sp 16, But i am executing this Wed Application in 3.1WAD.
    Thanks and Regards,
    kalyan

    Dear Jai,
    Issue is in WAD selection screen for first product valuse every thing if fine, when i go back and change product value and then CHECK and EXECUTE the following error comes.
    The requested query / does not exist on the current server
    System error in program CL_RSR_OLAP_VAR and form BAD STATE (see long text)
    Any one have any idea plssssssssssssssssssssssssssssssssssss..........
    dude's some soln.....
    Thanks and Regards,
    Dev
    Edited by: Srinivas dev on Jul 4, 2008 2:45 PM

  • SP2013: List does not exist / The page you selected contains a list that does not exist. It may have been deleted by another user

    There are dozens of entries regarding "
    List does not exist / The page you selected
    contains a list that does not exist. It may have been deleted by another user" and none of them are really SP 2013 so i thought I would create this entry. 
    I am getting the error above after creating a simple list with 4 columns.  the list is created during a new site definition activation but when I click on my list, I get the error above.  the list works if I deactivate the feature and re-activate
    it.  but has the error whenever the new site definition is created.  
    Has anybody encountered this issue on SP 2013?

    Hi,
    For your issue, there are plenty of possible reasons offered when we search this issue online.
    Here are similar issue posts, check whether they are helpful:
    http://sharepoint.stackexchange.com/questions/98239/list-does-not-exist-error-when-opening-the-views
    http://sharepoint2u.com/?p=56https://shareyourpoint.wordpress.com/2012/04/12/list-does-not-exist-the-page-you-selected-contains-a-list-that-does-not-exist-it-may-have-been-deleted-by-another-user-sharepoint-2010-error/
    http://spnovice.blogspot.com/2012/10/list-does-not-exist-or-does-it.html
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

Maybe you are looking for