I'm using some Apache jars, I'll make changes to the JAR's every so often.
These JARs are listed as external libs in intellij (i.e the classpath is looking to the install dir of the JAR's). Well when I make the changes intellij doesn't seem to know about the new implementation. I have to remove the jar as an external library and re-ad it.
Does anyone know what I have to do so intellij picks the changes up automatically? I've done clean and rebuild project but it had little effect.
From the main menu, select File | Project Structure Ctrl+Alt+Shift+S and locate the library that you want to change. Right-click the necessary library and select Copy to Project Libraries or Add to Modules.
You can go to Preferences
-> Build, Execution, Deployment
-> Build Tools
-> Maven
-> Importing
and check the box that says Import Maven projects automatically
.
In Mac, you can do Command + Shift + A
, then enter the action reimport
, then click on Reimport all Maven projects
.
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