I am trying to get the vertx library to compile in IntelliJ (w/ maven)
I had a lot of trouble getting maven to recognize/download the vertx dependency but I was able to resolve the dependency issues by downloading and installing the vertx libraries via the command line. Now I no longer have issues with the vertx dependencies and when I check the project dependencies in IntelliJ it has the correct path and shows no errors. The maven libraries in 'project structure' show up correctly and I've checked the directories for the .jar and .java files, they're all there.
I've also set my maven home directory to a fresh maven install: C:/Program Files/apache-maven-3.3.3 and the settings file to the correct file: C:\Users[User].m2\settings.xml and the local repository (where maven has installed the requisite libraries) C:\Users[User].m2\repository These directories line up with libraries I've installed and the maven directories that seem to be working correctly (little red line that was there before I reinstalled the libraries and reset the caches is gone)
However, I am still not able to use the vertx libraries.
Also, this code is working on a friends mac, but I'm running windows and can't seem to get it to compile (java package does not exist error).
I was able to install the module with Maven by going to File - Project Structure - Add Libraries - Maven - and after googling the name of the module (it's io.vertx:vertx-core
- io.vertx.core won't bring it up) I was able to install it fully using Maven and add it as a dependency from within IntelliJ. HTH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With