cancel
Showing results for 
Search instead for 
Did you mean: 

DC build failed!

Former Member
0 Kudos

Hi experts,

i try to develop a small WebDynpro Application, wich is consist out of two DCs. The first is my model component wich includes a web service Model. The second DC includes a view that should display the model content.

If i build the view Component i get these failures:

- The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.engine.services.webservices.espbase.client.dynamic.content.GenericObject. Fix the classpath then try rebuilding this project.

- The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.engine.services.webservices.espbase.client.dynamic.content.GenericObject. Fix the classpath then try rebuilding this project.

I hope anybody can resolve my problem.

Thanks,

Florian

Accepted Solutions (0)

Answers (2)

Answers (2)

venkatakalyan_karanam
Active Contributor
0 Kudos

Hi Florian

Repair the Dc class path for all your individual DCs first.Add used DCs if any for each DC in the DC meta model .Then Build the DC.

Regards

kalyan

Former Member
0 Kudos

Thanks kalyan,

i resolve my problem but a new one is occurs. The build of the project ends successfully but if i run the project the follow failure occurs in the browser.

java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass..........

To resolve the problem i create a view in the model DC. This view have got the same construction as the view of the view DC.

When i deploy and run the DC the same failure occurs.

Regards,

Florian

Former Member
0 Kudos

Hi Florian,

This is a commom error when u use webservice models. follow these steps:

1 create the model in ur dc, where u want to use the model content.

2. rebuild the dc.

3. delete the model .

after that u can use the model from another dc.

hope this will solve ur problem.

regards

Sumit

Former Member
0 Kudos

Hi Sumit,

thanks for your answer. It helps to add the used DCs for the used model but it do not resolved my problem.

The problem occurs when i bind a model node from the used model to the component controller. It exist as long as the model node exist. When i delete the node from the component controller and the comonent interface the failure do not occurs.

I don't understand how i can resolve this problem.

Failure:

java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.model.webservice.gci.WSTypedModelClass -


Loader Info -


ClassLoader name: [itellium.com/sssmodel] Parent loader name: [Frame ClassLoader] References: common:service:http;service:servlet_jsp service:ejb common:service:iiop;service:naming;service:p4;service:ts service:jmsconnector library:jsse library:servlet common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl library:ejb20 library:j2eeca library:jms library:opensql common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:adminadapter;service:basicadmin;service:com.sap.security.core.ume.service;service:configuration;service:connector;service:dbpool;service:deploy;service:jmx;service:jmx_notification;service:keystore;service:security;service:userstore interface:resourcecontext_api interface:webservices interface:cross interface:ejbserialization sap.com/tcwddispwda sap.com/tcwdcorecomp service:webdynpro service:sld library:tcddicddicservices library:com.sap.aii.proxy.framework library:tcgraphicsigs library:com.sap.mw.jco library:com.sap.lcr.api.cimclient library:sapxmltoolkit library:com.sap.aii.util.rb library:com.sap.util.monitor.jarm library:tcddicddicruntime library:com.sap.aii.util.xml library:com.sap.aii.util.misc library:tccmi Resources: /usr/sap/T43/DVEBMGS47/j2ee/cluster/server0/apps/itellium.com/sssmodel/webdynpro/public/lib/itellium.comsssmodel.jar /usr/sap/T43/DVEBMGS47/j2ee/cluster/server0/apps/itellium.com/sssmodel/src.zip Loading model: {parent,references,local} -


The error occurred while trying to load "com.itellium.sss.models.DT_SupSelfServ_Asp_Kateg".

Former Member
0 Kudos

Thanks Sumit, It works perfectly.

I used to add the missing dependencies by hand, but with a dummy model is easier.

Regards,

Omar

Former Member
0 Kudos

HI

check if it helps

Regards

Abhijith YS

Former Member
0 Kudos

Thanks Abhijith,

but this thread don't resolve my problem, because he has a coding problem. My DC works without any Problem when i delete the data binding (view --> Comp. Interface) and the context of the view.

Regards,

Florian