cannot run junit tests from an imported maven project

hi,


i have imported a maven project from git with one module. first of all when i tamper the pom.xml an entry gets created in the compiler settings with java 1.5 . i delete it and then i change something again in the pom.xml and it reappears. but in any case, the real problem:

i get an exception NoClassDef with name=com.intellij.rt.execution.JUnitstarter when I try to run my tests when in another pc it runs ok.

jdk 8, windows 8.1, intellij 14.1.1

you can see in the attached foto the error and the junit library 4.11 referenced

thanks



Attachment(s):
Untitled.gif
4 comments
Comment actions Permalink

hi,

its exactly the same.

i attach here the log (which contains nothing about this) and my module files to see if something is off?



Attachment(s):
gatherer.iml.zip
idea.log.zip
0
Comment actions Permalink

problem was only solved after i deleted the .idea folder and
created a new one. this folder i copied over from a linux (but identical version of intellij) to a windows install (through a git pull) but apparently this is not working.

thanks for the help.

0

Please sign in to leave a comment.