cancel
Showing results for 
Search instead for 
Did you mean: 

Error:- Class is an interface or abstract class and not an instantiable class

Former Member
0 Kudos

Hi Gurus,

I am using a Java mapping in my Operation mapping but getting Class is an interface or abstract class and not an instantiable class error.

In my imported archieves both Java and Class files are present.

I created this java mapping in NWDS

Request you to help

Accepted Solutions (0)

Answers (1)

Answers (1)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

Please check your syntax.  The error says that ModExcelToXML is an interface.  You cannot create an instance such as new ModeExcelToXML()  in your coding as class instantiate. If this is an interface, please create class that implements ModeExcelToXML and then instantiate the class.

You might want to check this link for code snippet and understanding... Refer internet more for instantiate the interface ways...

http://stackoverflow.com/questions/4587392/can-we-create-an-instance-of-an-interface-in-java

Former Member
0 Kudos

Hi Baskar,

Thanks for yr reply. Now I am getting following error unsupported java major minor error 50.0.

Thanks in advance.