cancel
Showing results for 
Search instead for 
Did you mean: 

Issues in Deploying the Sample code

former_member204024
Participant
0 Kudos
222

Hi,

I downloaded BusinessObjects Enterprise Java SDK Sample Code from SDK Developer Library. I unzipped the content to a folder(Sample) in tomcat/webapps. Now when I launched the application using the following url http://localhost:8080/Sample/start.jsp

I am getting the following error.

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:

Only a type can be imported. com.crystaldecisions.sdk.exception.SDKException resolves to a package

Generated servlet error:

Only a type can be imported. com.crystaldecisions.sdk.framework.CrystalEnterprise resolves to a package

Generated servlet error:

Only a type can be imported. com.crystaldecisions.sdk.framework.IEnterpriseSession resolves to a package

Generated servlet error:

Only a type can be imported. com.crystaldecisions.sdk.framework.ISessionMgr resolves to a package

An error occurred at line: 36 in the jsp file: /start.jsp

Generated servlet error:

ISessionMgr cannot be resolved to a type

An error occurred at line: 36 in the jsp file: /start.jsp

Generated servlet error:

CrystalEnterprise cannot be resolved

org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)

javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Please let me know whether I have to do any configuration to make this application running.

Thanks and Regards,

Subbu S

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi subbu,

I am getting the same error. while promoting an sdk that i have developed in xir2 to xir3. Did you get the issue resolved. If so could you please share the resolution.

Former Member
0 Kudos

Hi ,

xir2 to xir3 promotion ... make sure you are using jars provided by xir3.

Thanks,

Praveen.

Former Member
0 Kudos

seem to be you have not added library files.

former_member204024
Participant
0 Kudos

I haven't changed anything. I just deployed the sample coding.

Thanks and Regards,

Subbu S

fritzfeltus
Product and Topic Expert
Product and Topic Expert
0 Kudos

You can find the neccessary jar files here:

C:Program FilesBusiness ObjectsCommon4.0javalib

Check the developer guide for guidance on exactly which jars are required:

https://www.sdn.sap.com/irj/boc/sdklibrary

BusinessObjects Enterprise Java SDK > Developer Guide > Setting up the development environment > Web application setup > JAR files needed for deployment of Business Objects Software