cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFoundError when reimporting the model

Former Member
0 Kudos

Hi

I have reimported a model. When I bind the model context to controller context, it shows me runtime error -

java.lang.NoClassDefFoundError: material.Bapimatradc

at project.wdp.InternalComp.class$(InternalComp.java:25)

I have currently checked out the model, and working on my local J2ee engine.

Please help me in identifying the problem.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check your context mapping with model context. It seems ou missed mapping for some node or attribute.

Confirm that you have deployed your code properly on the server where your application is running.

Regards,

Bhavik

Former Member
0 Kudos

Hi

Thanks for replying, Bhavik.

When I try to map my context with the new _input model node(added a new bapi), it gives me a NoClassDefFoundError error. But when I try to map my context with the old _input model node(already existing bapi in model), it just works fine.

Please help me in resolving this.

Thanks!

former_member186016
Active Contributor
0 Kudos

Can you check if the java file is generated for new _input model node.

Also if you are exposing this model from a dc. Lets say dc <b>dc1</b> and using it in <b>dc2</b>. If you reimported the model in <b>dc1</b>, you have to manualy add new entities to the public part of <b>dc1</b>.

Regards,

Ashwani Kr Sharma

Former Member
0 Kudos

Thanks Ashwani for answering my question.

Thanks

Answers (0)