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
Similar Messages
-
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.
-
VENDOR is mapped to the dialog column (USAGE_VENDOR) that does not exist
Hello,
I'm trying to install Solman 4.0 Unicode. When I start sapinst and select a Central System, I get an error before it even gets to the point where I can input some parameters. The error is below, has anyone experienced this? Thank you.
~TJ
ERROR 2006-08-17 09:29:20 [iaxxctbctl.cpp:128]
CTableControl::retrieveDefaultValue
FGE-00003 The key db column VENDOR is mapped to the dialog column (USAGE_VENDOR) that does not exist.
TRACE [iaxxejsbas.hpp:388]
handleException<ESAPinstException>()
Converting exception into JS Exception Exception.
ERROR 2006-08-17 09:29:20
CJSlibModule::writeError_impl()
MUT-03025 Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
TRACE [iaxxejsbas.hpp:460]
EJS_Base::dispatchFunctionCall()
JS Callback has thrown unknown exception. Rethrowing.
ERROR 2006-08-17 09:29:20
FCO-00011 The step selectUsages with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features|ind|ind|ind|ind|5|0|SAP_Software_Features_Select|ind|ind|ind|ind|1|0|selectUsages was executed with status ERROR .
TRACE
<html><head></head><body><p>An error occurred while processing service <b>SAP Solution Manager 4.0 > SAP Systems > IBM DB2 UDB for iSeries > Central System > Central System Installation</b>. You may now</p><ul> <li>press <I>Retry</I> to repeat the current step.</li> <li>press the <I>View Log</I> button to get more information about the error.</li> <li>stop the task and continue with it later.</li></ul><p>Log files are written to <b>G:\usr\sap/SAPinst/SOLMAN/SYSTEM/DB4/CENTRAL/AS</b>.</p></body></html>
TRACE [iaxxgenimp.cpp:1093]
showDialog()
waiting for an answer from gui
INFO 2006-08-17 09:32:31 [iaxxgenimp.cpp:779]
showDialog()
An error occured and the user decide to stop.\n Current step "|NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features|ind|ind|ind|ind|5|0|SAP_Software_Features_Select|ind|ind|ind|ind|1|0|selectUsages".FYI - I was using the NW2004s control file patch not NW2004sSR1. Once using the correct control files it worked.
~TJ -
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.
BrianPerhaps 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.javaHi.
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. -
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
Mikeinstead 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,
ParikshitAnd why do you think those jars are required? Guess work? Glassfish already provides them, remove them from the application deployment and try again.
-
Interface mapping Object does not exist in runtime cache
I am getting the following error after importing IR into our test system (PI7.0 SP10).
Interface mapping Object ID 19C3AC9D13B03787AEEB85169D0B6900 Software Component 8C51B2209F3C11DB94CEEB180DDF0074 does not exist in runtime cache Exception of class CX_XMS_SYSERR_MAPPING
You want to execute interface mapping Object ID 19C3AC9D13B03787AEEB85169D0B6900 Software Component 8C51B2209F3C11DB94CEEB180DDF0074 . However,the data of this interface mapping is missing in the runtime cache. Activate the interface mapping in the Integration Repository.
I cannot change the mapping and reactivate - as this cannot be changed.
I have run SXI_Cache, Cleared SLD caches on IR and ID and run cacherefresh=full, but no luck!
The mapping is there and I can test it in the IR.
Any thoughts?I had this problem today, maybe this helps someone when searching about this (at least this is the first hit at a very big search engine when searching for interface mapping does not exist...)
I have a RFC => PI => File scenario. I was aware that this would need to be asynchronous so I set up the message interface (service interface for PI > 7.0) as asynchronous inbound. This is the file receiver part of the interface.
Hints on the error: Audit Log in message details of RWB showed a line like this: RFC adapter received sRFC for ZMY_FM from <sender SID>/<sender client>. Attempting to send message synchronously. This of course could not work as file is asynchronous by default.
Bottom line however was, to make the call of the sender RFC asynchronous by using "in background task" like so:
CALL FUNCTION 'ZMY_FM'
IN BACKGROUND TASK
DESTINATION 'PI_DEST'
EXPORTING
t_file = lt_file.
COMMIT WORK.
Don't forget the commit work here.
Hope this helps.
Cheers
Jens -
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 PMI 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?
-
UDF does not find package in imported archive
Hello,
as I want to use a base64 encoding method I have created an imported archive to use the package org.apache.commons.code.binary and want to use Base64 class in an UDF.
I have created an imported archive in the same SVCW and namespsace as the UDF exists. However when executing the UDF I get the following error message:
package org,.apache.commons.codes.binary. does not exist
import org.apache.commons.codec.binary.*
The import statement in the UDF is spelled correctly and the imported archive was acitvated without error.
What could be the reason for this?Hello,
I have created an imported archive in the same SVCW and namespsace as the UDF exists. However when executing the UDF I get the following error message:
package <org,.apache>.commons.codes.binary. does not exist
import org.apache.commons.<codec.>binary.*
The import archive procedure you have done is correct. In your UDF check your importing statement as its not in correct syntax.
and also check the spelling of the package. check the words i have marked with in tags.
Regards,
Prasanna -
Error for package com.sap.aii.mapping.lookup
Hi All
I am writing a code for the DB lookup. When I import the package in the Message
Mapping (Advance Function) I am getting an Error.
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist
import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.; ^
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null;
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map6af6f7d1335111dc9b51000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^
Thanks
Farooq.Hey satish I am getting same Error:
C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:3: package com.sap.aii.mapping.lookup does not exist import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.;import com.sap.aii.mapping.lookup.;import java.io.*; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:57: cannot resolve symbol symbol : class Channel location: class com.sap.xi.tf._MM_File2JMS_ Channel channel = null; ^ C:/usr/sap/SXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map7801d381335311dc8660000c2967ead8/source/com/sap/xi/tf/_MM_File2JMS_.java:58: cannot resolve symbol symbol : class DataBaseAccessor location: class com.sap.xi.tf._MM_File2JMS_ DataBaseAccessor accessor = null; ^ 3 errors -
REP-52005: The specified key userlogin does not exist in the key map file.
Hi,
I am using oracle 11g report server. I am getting the error of REP-52005: The specified key userlogin does not exist in the key map file.
I updated the user_string in cgicmd.dat file. My cgicmd.dat file content is below
; OracleAS Reports Services ;
; CGICMD.DAT ;
; Example CGICMD.DAT Mapping file ;
; Syntax:
; KEY : VALUE
; Where:
; KEY - the first argument of the rwservlet URL request (case sensitive).
; VALUE - command line parameters and/or special parameters.
; Keys can be referenced in the following ways:
; 1. Parameter on command line to the reports servlet
; e.g. http://machine/servlet/rwservlet?KEY
; 2. Parameter on command line to a reports jsp
; e.g. http://machine/mydir/myreport.jsp?KEY
; 3. Within a reports jsp - in the rw:report custom tag
; e.g. <rw:report parameters="KEY">
; In addition to the Reports Server command line parameters, VALUE can include special parameters
; represented as "%X", where X identifies the parameter. Currently recognized special
; parameters:
; %0 - %9 - 0..9 arguments from original rwservlet URL request. Note that %0 refers to the key itself.
; %* - entire contents (all arguments) of original rwservlet URL request.
; %D - request users to input database userid everytime they run the report.
; %P - request for report parameter form in HTML format. It generates the PARAMFORM=HTML
; construction on the first submission of the URL and PARAMFORM=NO upon parameter form submission.
; CGICMD.DAT Usage Notes
; 1. Multiple keys in this file MUST be separated by an EXTRA empty line.
; 2. Extra spaces are ignored. Multi-line entries allowed.
; 3. Lines starting with ";" character are treated as a comments.
; 4. Comments within a key or key value are NOT allowed.
; 5. NLS language support is provided and can be used (encoding should match the one
; used in HTML request - no language conversion of any kind is attempted.
; 6. For %P special parameter, HTML format is by default mapped to the HTMLTABLE format in this release.
; The HTML format in the future may be mapped to the HTMLCSS format.
;;;;;;;;;;;; Example Key Entries
; Example 1: Run a simple breakb report and output to HTML
orqa: report=breakb.rdf destype=cache desformat=html server=repserver
; Example 2: prompt for userid the first time, then use database userid stored in the cookie subsequently.
report_defaultid: report=breakb.rdf destype=cache desformat=html server=repserver
; Example 3: use %D to require user authentication every time
report_secure: report=breakb.rdf destype=cache desformat=html server=repserver1 %D
; Example 4: Take all arguments from URL and send it to the reports server
run: %*
; Example 5: Run breakb report with HTML parameter form.
breakbparam : report=breakb.rdf destype=cache desformat=html server=repserver userid=scott/tiger@mydb %P
; Example 6: take all URL arguments, and also generate a HTML parameter form
runp: %* %P
; Example 7: Run an Express Report. Replace <MYHOST> with the name of the machine running the Express server. The
; builder on-line help explains the rest of the parameters (the /sl, st etc. etc.)
express: report=my_expr_rep express_server="server=ncacn_ip_tcp:<MYHOST>/sl=1/st=1/ct=0/sv=1/" desformat=htmlcss userid=scott/tiger@mydb destype=cache server=repserver
;;;;;;;;;;;; Keys for Reports Demos
; Using default/in-process server.
; JSPs
;charthyperlink_ias: userid="scott/tiger@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=%DBHOSTNAME%)(PORT=%DBPORT%))(CONNECT_DATA=(SID=%DBSID%)))" %*
;charthyperlink_ids: userid=scott/tiger@ %*
;barcodeweb: userid=oe
;parmformjsp: userid=oe
;tutorial: userid=oe
; Paper Reports
;xmldata: userid=oe report=inventory_report.rdf destype=cache p_filelocation="http://%HOSTNAME%:%OC4JPORT%/reports/examples/xml_pds/scripts/" desformat=pdf
;barcodepaper: userid=oe report=shippingmanifest.rdf destype=cache desformat=pdf
;distributionpaper: userid=oe report=inventory_report_dist.rdf distribute=yes destination=exampledistribution.xml
;pdfenhancements: userid=oe report=utf8test.rdf destype=cache desformat=pdf
userlogin : userid=SYMFINBTOTEST@fin10r21 %*
As in the above file i have added a key as userlogin at the end of the file. But the reports server does not take the key that i have given. I followed the same steps provided in oracle docs. I used "showmap" to check the cgicmd file that is used by the reports
http://aspirevm8-17.aspiresys.com:9002/reports/rwservlet/showmap?server=bluQubeReportsAtLocalEnv&destype&userid=SYMFINBT…
It shows me the content of the cgicmd.dat file and it also shows my updations. But in the "Parsed Map File Entries" it does not show my key value pair
Parsed Map File Entries
Return to Top
Key Name
Value
runp
%* %P
breakbparam
report=breakb.rdf destype=cache desformat=html server=repserver userid=scott@mydb %P
report_defaultid
report=breakb.rdf destype=cache desformat=html server=repserver
run
report_secure
report=breakb.rdf destype=cache desformat=html server=repserver %D
express
report=my_expr_rep express_server="server=ncacn_ip_tcp:<MYHOST>/sl=1/st=1/ct=0/sv=1/" desformat=htmlcss userid=scott@mydb destype=cache server=repserver
orqa
report=breakb.rdf destype=cache desformat=html server=repserver
Please help me to to make the key being populated here and being used by the reports server.
Thanks,
Priyauncomment #KEYPMAPFILE=CGICMD.DAT. remove the #
then for development set
reloadkeymap=yes (same file - rwservlet.properties).
Now it should reload everytime. (otherwise for every change u need to restart oc4j_bi_forms)
(For * production* may be you want to set reloadkeymap=no once all testing is done)
see cgicmd.dat for many examples of using keymap file
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i/10g ]
9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
http://www.oracle.com/technology/products/forms/techlisting10g.html
--------------------------------------------------------------------------------- -
Error while deploy mapping ora-06550 table or view does not exist
Hi everyone,
i have a target source 'U_BCK' that cointains some Oracle table.
I have also created a target schema 'BCK_OWNER' where i create some dimensions and cubes with mappings.
My mappings connect some table from U_BCK with dimension or cube from BCK_OWNER.
My repository owner is called 'rep_owner' and i used this user to create every metadata.
Now i'm trying to deploy, and i don't have any problem until deploying mappings. When i try to deploy mappings i get some errors like ora-06550,ora-00942 table or view does not exist and statement ignored.
Please help me and sorry for my english...
Thanks,
Alex.The mapping, that drives the data from one table to another is deployed to the database as a PL/SQL package. When deploying your mapping fails, it most often means that the resulting PL/SQL package doesn't compile in the database.
Using Oracle SQL Developer (or Toad, SQL Navigator or any other tool) connect to the schema on the database where you have deployed the mapping. Open the pl/sql package and compile it. That should show you the place where the compilation fails, and give you an idea as to what table it can not find. Otherwise, in SQLPLUS, you can simply give the following command:
ALTER PACKAGE THE_PACKAGE_NAME_GOES_HERE compile body;
show errors;
As the database user who owns the source tables, make sure to issue a GRANT command for each of the source tables, granting SELECT access to the database user who owns the mapping:
grant select on TABLENAME to TARGETSCHEMA.
hope this helps
Borkur
Maybe you are looking for
-
Camera raw 6-7 beta and + win7 64
cameraraw6-7_r1_win_030612 won't install on my Win7x64 machine I extracted the zip to a folder on my desktop, selected & doulble cliked AdobePatchInstaller, selected "RUN" and I get "error loading updater workflow" Did I get the wrong thing? Is there
-
Dear Expert I have one non-cumulative cube with Inflow and out flow. I compressed that cube and rolled up BWA index. Performance it good but the query still takes much time ( 10- 12 minutes) earlier 30 minutes. I saw during query running its still ac
-
Compensation Planning Iviews in MSS
Dear Team, From the R/3 end, the ful cycle for Compensation Planning is working. Comming to the MSS part in portal, although we find Iviews for Compensation Planning and Approval, these two pages display only blank page. Required Authorizations have
-
Script Logic wrong results in migration to BPC 7.5M
Hi Experts, We have an issue with Script Logic calculation after migration of BPC 7.0M to BPC 7.5M. At the beginning we thought that was the issue mentioned in SAP note 1515973, because we had SP03. Now we have SP07 and the problems persist. The resu
-
FAILOVER - which TNSNAMES should be updated - Client's or Database's
Hi All, I have installed a two node cluster and want to configure TAF , my questions are 1. Do I need to insert the following only in db TNSNAMES or in clinet TNSNAMES as well? (LOAD_BALANCE = ON) (FAILOVER = ON) FAILOVER_MODE = (TYPE = SELECT) (METH