cancel
Showing results for 
Search instead for 
Did you mean: 

UDF error: bad class file

Former Member
0 Kudos

Hi to all!

i faced with following problem:

i'm trying to use in message mapping exported Java function and get following error:

<i>Source code has syntax error: E:/usr/sap/DXI/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapb97a3fc699d611dcaf9d001b78d07a70/source/com/sap/xi/tf/_UserToRoleId_.java:3: cannot access kolpix.echo bad class file: E:\usr\sap\DXI\DVEBMGS00\j2ee\cluster\server0\.\temp\classpath_resolver\Mapb97a3fc699d611dcaf9d001b78d07a70\classpath\Echo_1(kolpix/echo.class) class file has wrong version 50.0, should be 48.0 Please remove or make sure it appears in the correct subdirectory of the classpath. import com.sap.aii.mappingtool.tf3.;import com.sap.aii.mappingtool.tf3.rt.;import java.util.;import java.io.; import java.lang.reflect.*;import kolpix.echo; ^ 1 error</i>

There is my Java function:

package kolpix;

public class echo {
    
    public echo() {
    }
    public static String hello(String str) {
        return "Hello "+str+"!";
    }
}

in UDF into the <b>Imports</b> textField i just put <b>kolpix.echo;</b>

and in body function i just put <b>return echo.hello("World");</b>

Could any one explain what does it mean and what i must do to solve the problem?

Thx in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

May be the matter is that i'm developing on JDK SE 1.6 update 2?

am i have to develop on JDK 1.4?

Former Member
0 Kudos

<a href="http://j-integra.intrinsyc.com/support/kb/article.aspx?id=183240">That info explain all</a>