There are two classes, the first class creates an instance of the second class. It looks like this, first class:
Inv inv; String[] tLine = line.split(";"); inv = new Inv(); inv.setDebet(tLine[7]); inv.setCredit(tLine[10]); Actually the second class to the contrary is simple:
public class Inv { String mDebet; String mCredit; String mOperator; String mReestr; String mDate; String mCur; int mSumma; String mPurpose; public Inv() { // TODO Auto-generated constructor stub } public String getDebet() { return mDebet; } public void setDebet(String debet) { mDebet = debet; } public String getCredit() { return mCredit; } public void setCredit(String credit) { mCredit = credit; } } It compiles without problems, but when it executes, NoSuchMethodError scolds. Actually what am I doing wrong?