maven not downloading dependencies intellij in windows
已回答
Hi On windows I am facing this problem and didn't find solution in anywhere. Same thing works in MAC and didn't work in Windows.
I have attached the POM file and project screenshot.
1-) I have tried Maven->importing->JDK for Importer: Version 12 ( didn't work)
2-) HTTP proxy : Auto-detect (didn't work)
3-)Reimport the POM file(didn't work)
4-) Java Compiler version 8 , and target byte code version 1.5 ( incase if this info required)
Can it be port issue? If port issue, how can I solve it?
I read almost all the posts and tried the suggestion but didn't work.
Any suggestions?
请先登录再写评论。
Works fine here. Please upload you idea.log: Help -> Show Log in Explorer
First of all you need to fix the syntax on your source code - it will not compile anyway (it looks like two closing curly braces are missing).
Make also sure that the project can be built from command line by Maven (that the mvn compile goal ends successfully).
It problem remains, provide idea.log after refreshing project in Maven tool window.
We uninstalled the IntelliJ and installed again and problem solved. It works fine.
I was installing the IntelliJ to couple of my friends and all are having different issued with Windows OS.
Do you think Operating system language cause for downloading the libraries?
Below are from 2 different windows system.
When I download chromedriver to computer and give the path and instead of WebDriveManager when I use WebDrive it compiles and runs the code.
What could be the reason for this?
WebDriverManager.chromedriver().arch32().setup(); // do you think this may work to force the system to check the 32bit version only?
Make sure you are loading webdriver correctly and that needed version of driver is in classpath. This is not an IDE-specific issue. Check related forums for this, e.g. see https://stackoverflow.com/questions/23081507/where-to-find-64-bit-version-of-chromedriver-exe-for-selenium-webdriver