When i try to run my test i get the following Errors: I looked up on google and found somthing on google but this didn\'t help.
Error:(3, 24) java: package org.j
For anyone ending up here using maven, a couple of things to check:
junit
as a dependency in your pom.xml?Add as Maven Project
or perhaps Maven->Reimport
4.12
. Try that. (You might not want to this because you want the version to be decided by a parent module. Read on.)dependencyManagement
? Maven need it to resolve the correct version number if you don't want to have it explicitly in the current project. For me it refers to the parent project. Like this:
com.myorg
myproject-parent
${myproject.version}
import
pom