In 2:1 the 2 is the number of the class in Weka (not something from your data file) and the 1 is the class prediction. Your classes must be 1 and 0.
This is confusing, especially since I can't see this is easily found in the documentation.
It's easier to see this if we load in the contact-lenses file (which comes with Weka). There are 3 classes to be predicted: soft, hard, and none.
So, in the prediction output, we see this
=== Predictions on test data ===
inst#,actual,predicted,error,prediction
1,2:hard,2:hard,,1
2,3:none,3:none,,1
3,1:soft,1:soft,,0.8
1,2:hard,2:hard,,0.6
2,3:none,3:none,,1
3,1:soft,1:soft,,0.8
1,2:hard,3:none,+,1
2,3:none,3:none,,1
3,1:soft,1:soft,,0.8
1,2:hard,2:hard,,0.6
2,3:none,3:none,,1
3,1:soft,1:soft,,0.8
1,3:none,3:none,,1
2,3:none,2:hard,+,0.8
1,3:none,3:none,,1
2,3:none,3:none,,1
1,3:none,3:none,,1
2,3:none,3:none,,1
1,3:none,3:none,,1
2,3:none,3:none,,1
1,3:none,2:hard,+,0.8
2,3:none,1:soft,+,1
1,3:none,3:none,,1
2,1:soft,1:soft,,0.8
It's easy to see that Weka internally is coding soft as 1, hard as 2, and none as 3, 3:none means either an actual or a prediction of the third class, "none".