Intellij Can not run project

Answered

New Project or import project or whatever , when I click RUN , there is a small dialog, only Edit Configurations. 

I am doing some JUnit program exercises, I follow the study guide but can not run exactly the same as teacher's ,,, 

I googled but can not find solutions.

so I need help !  



0
7 comments

Please check https://www.jetbrains.com/help/idea/configuring-content-roots.html.

Tests should reside in a directory that is configured as the Test Source Root, not in the root  directory of the project.

You also need to create a configuration for the tests: https://www.jetbrains.com/help/idea/creating-and-editing-run-debug-configurations.html.

0

Thank you for your reply.

My test file 'DogTest' was setted as Test Source Root and file 'Dog', but still can not works.

What I have done was followed teacher's guide, my classmates can do it but me.

Teacher's study guide (if you need BTW): https://sp18.datastructur.es/materials/lab/lab2setup/lab2setup

Thanks a lot. :)

 

0

Thank you for your reply.

I've already share project and logs.

Also, I've send an email to intellij-support@jetbrains.com

 

@Serge Baranov

0

Remove disabled_plugins.txt from the CONFIG directory (https://intellij-support.jetbrains.com/hc/articles/206544519) and restart IntelliJ IDEA.

The problem is caused by the disabled JUnit plug-in:

2019-01-02 21:48:57,195 [  37859]   INFO - llij.ide.plugins.PluginManager - Plugin 'JUnit' can't be loaded because: Plugin is disabled 

You can also enable it per http://www.jetbrains.com/idea/webhelp/enabling-and-disabling-plugins.html.

0

Thank you so much, Mr.Baranov ,You're very gentle !  

Under your professional help, I've solved the problem finally !

Thank you so so so much !

Have a good day ! ❤ 💪🏻

@Serge Baranov  

 

0

Please sign in to leave a comment.