cancel
Showing results for 
Search instead for 
Did you mean: 

Class not found error when trying to Test run the mapping program

Former Member
0 Kudos

Hello

I am getting the above error when i tried to execute the graphical mapping in the test run tab.

The error text says "Class "com.sap.xi.tf._<xxxx>_" not found (CLASS_NOT_FOUND)"

com.sap.aii.ib.core.mapping.exec.ExecuteException: Class "com.sap.xi.tf._<xxx>_" not found. I am getting this error for newly created mapping programs (those are simple ones). I tried checking the other activated programs which are running fine in the test run.

However if i go to change mode of pre-exisiting programs and tried to have test run it gives same error.

Any idea about the error?

Thanks in advance.

regards

rajeev

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member183906
Active Contributor
0 Kudos

hii

1.this error occurs because of wrong java class file version, looks like you have compiled the class file for JAVA 1.5 or higher -> XI runs on Java 1.4 AFAIK

if you are developing your mapping in eclipse open your project select your project goto Project -> Properties (or right click your project in the project explorer and then select properties)

then select Java Compiler -> select enable project spec. settings -> and set Compiler compliance level to 1.4 or lower and rebuild your project

2.did you give correct values ? check it out by closing the mapping and change the mapping and activate it then test it.

Former Member
0 Kudos

actually its graphical mapping so no eclipse for mappings development. regarding correct values in mapping, my existing mappings (which are running fine) also gives same error when tested in the changed mode.

regards

rajeev

Former Member
0 Kudos

The reason is because the mapping is not able to find the specific class which will be in aii_map_api.jar.

The issue might be because of a cache update.

Try creating a new map with two fields and execute and see the problem persist.

You can ask BASIS help for that

Former Member
0 Kudos

Yes, the problem persists for the simple mappings as well.