Eclipse JUnit - possible causes of seeing “initializationError” in Eclipse window

后端 未结 25 1336
情深已故
情深已故 2020-12-13 12:35

I know this question is pretty general but I haven\'t found any hints on why this error may show up. What are possible causes of seeing initalizationError in Eclips

25条回答
  •  感动是毒
    2020-12-13 12:41

    If you're using the xtend language (or some other JVM lang with type inference) and haven't explicitly defined the return type then it may be set to a non-void type because of the last expression, which will make JUnit fail.

提交回复
热议问题