Eclipse:通过启动仪表板运行Spring Boot Maven项目时发生异常(空指针)

时间:2018-09-25 01:49:44

标签: eclipse maven spring-boot-maven-plugin

当我尝试从启动仪表板运行spring boot maven项目时,出现以下异常

   // unit tests
    // do not modify the below code
    describe('tests', function() {
      const answer = [ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K' ];

  const tree = {
    value: "A",
    left: {
      value: "B",
      left: {
        value: "D",
        left: {
          value: "G",
          left: null,
          right: null
        },
        right: null
      },
      right: {
        value: "E",
        left: null,
        right: {
          value: "H",
          left: {
            value: "K",
            left: null,
            right: null
          }
        }
      }
    },
    right: {
      value: "C",
      left: {
        value: "F",
        left: {
          value: "I",
          left: null,
          right: null
        },
        right: {
          value: "J",
          left: null,
          right: null
        }
      },
      right: null
    }
  };

  render(tree, answer);

  it('breadthFirstTraverse', () => {
    expect(breadthFirstTraverse([tree], [])).toEqual(answer);
    expect(breadthFirstTraverse2([tree], [])).toEqual(answer);
  });
});

0 个答案:

没有答案