cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError

Former Member
0 Kudos

Hi all,

When i am using the UI element PieChart i am facing the below issue.

java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.clientserver.uielib.analytics.api.IWDAbstractChart

Please suggest us the solution.

Regards,

Suman

Accepted Solutions (0)

Answers (11)

Answers (11)

Former Member
0 Kudos

Answered

Former Member
0 Kudos

Request you to please update us on how was the problem solved finally?

Former Member
0 Kudos

Dear All,

The issue is not resolved from the side of webdynpro for JAVA. For me getting all the features according to the requirement in business graphics provided in NWDS is becoming more difficult.Because of that i am using VC for better graphics.

Thanks alot for the support given to me.

Regards,

Suman.

Former Member
0 Kudos

Hi Suman,

After downloading the required service pack SP13 from SAP Service Marketplace, you will find a setup exe file in the downloaded content. Just run this exe. You will get a wizard with different options for Upgrade, Uninstall.

You can choose Upgrade option & continue.

Alternatively, you can choose Uninstall option & first remove the previous uninstallation. After uninstalltion, check that the eclipse folder at installation path (default path should be "C:\Program Files\SAP\IDE\IDE70\eclipse") is empty. Then again run the exe & do a fresh installation.

After upgrading NWDS, start the IDE in a fresh new workspace (to avoid corruption of metadata due to old classes already loaded in older workspace)

Hope this helps you.

Kind Regards,

Nitin

Former Member
0 Kudos

Dear Nitin,

I have upgraded the NWDS7.0 sp7 to sp13 but i am not finding the Pie chart UI element now. What to do now. Please suggest.

Regards,

Suman

Former Member
0 Kudos

Hi,

Look into below thread. Might Help you.

Thanks,

Prasanthi.

Former Member
0 Kudos

Hi,

After logging to Service market place, go to installation and upgrades->support packages and patches->sap netweaver->sap netweaver 7.0->entry by component->developer studio->NW Developer studio7.0.

Hope it helps.

Thanks,

Prasanthi.

Former Member
0 Kudos

Hi Prashanthi,

Can you tell us how can we update the NWDS sp7 to sp13 do you have any reference or can you tell us it. We are downloading it now.

Tell us the complete procedure.

Regards,

Suman

Former Member
0 Kudos

Hi Suman,

Yes, please upgrade your NWDS to SP13 version.

After upgrade, please start your NWDS in a fresh new workspace (starting in same older workspace can lead to metadata corruption as the older plug-in classes are already loaded there).

You will need to import your project from the earlier workspace (so dont delete older workspace or keep a copy of the project in case you want to delete the older workspace)

This should solve your NoClassDefFoundError.

Kind Regards,

Nitin

Former Member
0 Kudos

Dear Nitin,

Where we can get the SP level13 in service market place our BASIS team is unable to get the location in downloads.

Regards,

Suman

Former Member
0 Kudos

Hi Suman,

If the java.lang.NoClassDefFoundError error is finally resolved by upgrading your NWDS do let us know the same.

Regards,

Anagha

Former Member
0 Kudos

Hi Suman,

You get such NoClassDefFoundError when you have upgraded one of either NWDS or WAS.

As in other thread , it is recommended both NWDS & WAS should of same version (It may work sometimes in some cases if there are not major changes in the SPs).

Kind Regards,

Nitin

Former Member
0 Kudos

Hi Nitin,

I am using NWDS 7.0 sp9 and WAS sp13 you mean to say i have to upgrade NWDS sp9 to sp13.

Regards,

Suman

Former Member
0 Kudos

Yes Suman. Please upgrade your NWDS to the same level as WAS. The libraries will then be there & the class not found problem should resolve.

Former Member
0 Kudos

Also, as mentioned in one of the other posts, try to see that the WAS and NWDS at the same SP level.

Former Member
0 Kudos

Dear all,

And i am using the lesser version of NWDS than WAS java.

Regards,

Suman.

Former Member
0 Kudos

Hi Suman,

Generally, the reason you receive such an exception is that your application misses

runtime reference to the component that contains the class mentioned in log...like in

your case the log mentions it could not find the class definition for class - IWDAbstractChart.

To make the runtime interface reference could you try the following?

1) Right-click your WD project.

2) Select 'Properties' > 'Web Dynpro References'> 'Interface References'

3) Add class

4) Apply and OK

5) Build the project and run.

Regards,

Anagha

Former Member
0 Kudos

Hi,

When add the reference to the class and deploy it .

I am getting a warning message with deployment.

Mar 4, 2009 11:13:16 AM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] WARNING:

[002]Deployment finished with warning

Settings

SDM host : BLR-DEPO-ED1

SDM port : 50018

URL to deploy : file:/C:/DOCUME1/00005035/LOCALS1/Temp/temp59202hparg.ear

Result

=> deployed with warning : file:/C:/DOCUME1/00005035/LOCALS1/Temp/temp59202hparg.ear

Finished with warnings: development component 'hparg'/'local'/'LOKAL'/'0.2009.03.04.11.13.07'/'0':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application local/hparg and wait. Reason: Clusterwide exception: server ID 2151550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/hparg for startup. Reason=Clusterwide exception: Failed to start dependent interface ''com.sap.tc.webdynpro.clientserver.uielib.analytics.api.IWDAbstractChart'' of application ''local/hparg''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine? at com.sap.engine.services.webdynpro.WebDynproContainer.prepareStart(WebDynproContainer.java:1494) at com.sap.engine.services.deploy.server.application.StartTransaction.prepareCommon(StartTransaction.java:223) at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:171) at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:301) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesImpl(ParallelAdapter.java:342) at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:126) at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:245) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4707) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4612) at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:4585) at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1163) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:313) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:199) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170) (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

Deployment exception : Got problems during deployment

Regards,

Suman

former_member192434
Active Contributor
0 Kudos

Hi

Did you put the required jar file into lib folder of your application.

for more check this pdf

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-tec...

thanks

AB

Former Member
0 Kudos

I am not using business graphics UI element i am using Pie chart ui element.

Regards,

Suman

Former Member
0 Kudos

Hi,

Check the below thread

Might be helpful..

Thanks,

Prasanthi.

former_member185086
Active Contributor
0 Kudos

Hi Suman

UI element PieChart or are you using BusinessGraphics UI Element under that chartType is Pie

Please provide us complete scenario, version etc

Best Regards

Satish Kumar

Former Member
0 Kudos

Hi sathish,

I am using piechart ui element directly not the Business graphic ui element.

for the pie chart i have added the Datasource and deployed thats it.

And the error log is:-

java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.clientserver.uielib.analytics.api.IWDAbstractChart

at java.lang.J9VMInternals.verifyImpl(Native Method)

at java.lang.J9VMInternals.verify(J9VMInternals.java:66)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:127)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:80)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:44)

at java.lang.reflect.Constructor.newInstance(Constructor.java:315)

at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:657)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:694)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)

at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)

at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)

at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:183)

at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:178)

at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:756)

at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:291)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)

at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)

at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:150)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)

at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(AccessController.java:215)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)

Regards,

Suman

Edited by: sumankumar kurimilla on Mar 4, 2009 5:58 AM

Edited by: sumankumar kurimilla on Mar 4, 2009 5:58 AM