non-static variable cannot this be referenced from a static context error
<pre><code>public static void main(String[] args) {

Scanner input = new Scanner(System.in);
System.out.println("Enter expression: ");
String exp = input.nextLine().trim();

ExpressionTree exptree = new ExpressionTree1(); //new instance of ExpressionTree
TreeNode root = new TreeNode();
root = exptree.parseOutsideExpression(exp);
int evaluate = exptree.Compute(root);
String answer = Integer.toString(evaluate);
System.out.println("The evaluated expression is:" + answer);

}

class ExpressionTree{
</code></pre>

<p>I've looked at several examples and I've noticed that a common answer is to create a new instance of your object within main() which I've done, but I still get the same error and I am unclear as to why. </p>
