cancel
Showing results for 
Search instead for 
Did you mean: 

Adding external JARS for UI5 implementation

Former Member
0 Kudos

Hi all,

We at the customer are facing an issue with implementing an interface which creates an excel document at end of the process.

i am using the following jars to create this excel sheet using REST / JSON data as input.

poi-ooxml.jar

poi-3.13.jar

json-simple.jar

BUT when implementing these jars in the NWDS this doesn't seem to get imported on the server. See images

Deployment on server seems to go well but when executing the JAVA class we get a no SuchMethod excption


500 Internal Server Error is returned for HTTP request [
  component [BPM REST Service],
  web module [alliander.com~wm_iwe],
  application [alliander.com/ea_iwe],
  DC name [alliander.com/ea_iwe],
  CSN component[],
  problem categorization [com.sap.ASJ.web.000137],
  internal categorization [-184624610].

[EXCEPTION]
javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/json/simple/parser/ParseException
at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:420)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:540)
at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:715)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:84

Is there a simple solution to ensure that these JARS are implemented on server side.

Thanks and Greetings

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello ,

If your files are deployed you can view them in the un deployment list.

You can deploy using SDM,But best way is to use NWDS.

Below link is about the deployment using NWDS

http://scn.sap.com/community/netweaver-administrator/blog/2014/01/28/nwds-step-by-step-in-the-loving...