Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

NoClassDefFoundError IParameterFieldDiscreteValue

Hi experts,

I tried to get and display on a jsp page the CrystalReport prompts and I have this error !!

The tomcat has not found IParameterFieldDiscreteValue class, do you Know wich jar contains this class ?

Thanku2019s in advance

The error message :

010-04-12 07:32:09,858 - ERROR - [[faces]:253] Servlet.service() for servlet faces threw exception

java.lang.NoClassDefFoundError: com/crystaldecisions/sdk/occa/report/data/IParameterFieldDiscreteValue

at Source)


The source :

final String query = "Select * from CI_INFOOBJECTS Where SI_ID = " + reportId;


List<BOPrompt> result = new ArrayList<BOPrompt>();

IInfoObjects rs = null;

try {

rs = infoStore.query(query);

if (rs.size() > 0) {

IInfoObject boInfoObject = (IInfoObject) rs.get(0);

IReport theReport = (IReport)boInfoObject;

// If the report has parameters

for (int i = 0; i < theReport.getReportParameters().size(); i++) {

IReportParameter reportParameter = (IReportParameter)theReport.getReportParameters().get(i);

// Create a new prompt object, copy the values

// from the parameters read out of the IReport object"Prompt "i": "reportParameter.getParameterName() " type "+reportParameter.getValueType());



} catch (SDKException ex) {

final String errMsg = "Unable to execute query.";


throw new DAOException(errMsg, ex);


Former Member

IParameterFieldDiscreteValue is in rascore.jar

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question