原因应有很多
1. solution 1
如图,JUnit中@Before提示错误:Before cannot be resolved to a type
解决:
光标放到@Before这行,Source -> Add import,自动导包 import org.junit.Before;
ok,问题解决
2. solution 2 其他原因
待续
原因应有很多
1. solution 1
如图,JUnit中@Before提示错误:Before cannot be resolved to a type
解决:
光标放到@Before这行,Source -> Add import,自动导包 import org.junit.Before;
ok,问题解决
2. solution 2 其他原因
待续