Java – why do I get “unable to parse symbols”?

I haven't encountered any difficulties before. I have imported this project before I'm not sure what has changed

I click Import project and select get started with selenium( http://github.com/ddavison/getting-started-with-selenium ), it is a maven project and an old eclipse project I clicked on the directory, and then in "select library" or anything else, I chose Maven

I have changed my build path to match correctly

src/
  main/
    java/  <-- source folder.

  tests/
    java/  <-- tests folder.

However, after I get the "unsolvable symbol", I can see it clearly even in the Maven library

If you need any additional information, please contact us

Solution

If JUnit is declared as < scope > test < / scope >, make sure your test class is in Src / test, otherwise it will not see dependencies

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>