Today i receive notification about InteliiJ Idea's update and decided to do it. However i was using trial version of the Ultimate edition and decided to switch to community
Uninstalled ultimate version (performed OS restart), deleted all cache/profile/m2 old files and installed community version. Imported my old project, added Framework support to maven and did "Reimport".
None of the dependencies is being downloaded. Wheneever i try to add new dependency the text becomes red.
I tried everything reimport, clean, mvn clean, mvn install, even did a reinstalled the program and still my dependencies are not being downloaded.
Auto-import is on and pom. is not in the ignored list.
Delete everything but the .java files i wrote. Restarted the project then added framework support and now everything is fine
Related
I'm on Manjaro linux using Intellij Idea community 4:2022.1.3-1 and jdk 17 for this project, maven is also present
Intellij always hangs after it starts indexing the jdk, it's responsive for a period of time but if I type anything or open a new menu after it's begun indexing the jdk it will immediately freeze and I have to kill the process.
This behavior started after I began attempting to use the luaj-jse-3.0.2 library. I got it to successfully start by removing this library once but have been unable to replicate this since.
I have tried -
Reinstalling intellij
Installing a different version
Removing the luaj library (only successful once)
Deleting the .idea folder
Running intellij in strace
Waiting for it to resolve
Several combinations of all of the above at once
I'm really at my wits' end on this, anyone know anything?
project github (this is up to date to the project): https://github.com/MorticiaGrey/CompSim
Apparently maven was having an issue with the jar I imported through intellij as a library. On a new project without maven but with the offending jar and code copied and pasted from the original project it worked fine, I also got it to work by deleting the old project and importing it again from github without building any of the maven stuff and deleting all the maven files
It may have been my fault for configuring something incorrectly somewhere, but I was using the normal method to add a library in intellij so if that's the case whoops I guess
I have just installed the newest version of eclipse on my ubuntu 16.04. But every time I try to import a maven project I get this kind of errors shown on the picture.
Also, all dependencies and plugins has .lastUpdated sufix, which means I guess that there is some kind of a problem and it wasn't downloaded correctly. I've tried removing everything from .m2 folder and letting eclipse download dependencies again, didn't work. Also tried to add <maven-resources-plugin> explicitly in the .pom and that didn't help also. Tried using both embedded maven from eclipse and installing my own from terminal, and setting eclipse to work with that, but no luck.
I faced this problem few month ago, and the only way was to remove Maven Integration Plugin from Eclipse and re-install it from the marketplace.
Fiiinally 7 hours later I figured it out. What I had to do was to change jdk. Initially I installed it from terminal and the exact name of it was java-8-openjdk-amd64. That somehow made a problem to maven and it couldn't download dependencies.
Once I removed the current version of java, downloaded jdk-8u171-linux-x64.tar.gz from Oracle-s website, extracted it into eclipse-installer/jre before installation, deleted everything from .m2 so those .lastUpdated files will be removed, it finally worked.
I can't seem to access eGit or use any related features in Eclipse Oxygen.
I have tried everything, and even wiped the meta, pool, and eclipse information to a complete re-install but still end up with the same issue.
For your information, I have 2 versions of Eclipse installed, Java and Java EE (if that might be a problem). I also have GitHub for Windows installed.
Some symptoms (i.e. when Eclipse stops responding):
Opening eGit perspective (it is possible if I don't have any projects in explorer, and open it from start after deleting metadata folder). Then it works until I open git projects.
Importing git & eclipse projects. Auto share git projects does not complete (or takes a long time - I stop it after 5-10 minutes).
Importing git project as Git Project (from import screen).
Importing git project from eGit perspective.
Edit: Additional symptoms:
Clone external git repository.
Load got project without git autoshare, and share project...then no response.
Accessing Team->Git->Configuration in Preferences.
Attempt to share new project.
Edit: I have now discovered (after installing previous Eclipse Neon version) that EGit still fails to work. Which may mean there is something deeper wrong with my setup/system. I hope I don't have to reinstall Windows on my system with a clean wipe. :(
I have tried just about everything. Any suggestions are greatly appreciated.
EDIT: As suggested, here is another fix to a similar (or same?) issue:
Eclipse not respond when try to configure GIT
As I was working on my project, an exclamation point popped up. Attempting to resolve this issue, I came across this solution from here:
Right click on your project -> Close Project. it will Close your project and all opened file(s) of the project
Right click on your project -> Open Project. it will Open your project and rebuild your project, Hopefully it will fix red exclamation mark
This not only fixed my project, but finally granted me access to eGit features in Eclipse.
In IntelliJ IDEA 14.1.4, I am working on a large Java EE project that is built with Gradle. However, when I open up IDEA and attempt to import the project from Gradle, the dependencies do not import (i.e. they do not show up in project settings and I cannot run tests or compile anything). I have tried running gradle idea, both from command line and from within IDEA, as well as refreshing my Gradle projects. I ran rm -rf ~/.IdeaIC14/ to reset my settings, just in case anything in my IDEA's Gradle settings was screwy, and I have even gone so far as to reinstall IDEA, all to no avail. My entire office is running the same version of IDEA and no one else seems to have this problem, and we are all working on the same codebase with the exact same Gradle build files. Any ideas as to what could cause this?
I restarted my computer, and rebooted my VM with Ubuntu 12.04 on it and, I restarted Eclipse. Then I noticed that there were errors regarding the build, so I did a 'mvn clean install' on the repo in the terminal, and after that I re-imported the Maven project in Eclipse (when the option was still available). After the import finished I noticed that it said that mvn is missing the 'unpack' command in m2e. So I thought, that I needed to update the software so I went into Help > Check for Updates, and then I guess it found a better version of m2e, but now the 'Import Existing Maven Project' is gone now. I tried importing it regularly, however the 'src/java/main' and 'src/java/test' aren't distinguished as different special folders.
Has anyone else encountered this issue? If so, what did you do to solve the problem.
Thanks in advance,
ejay
If you right cliok the project and select Configure, does it offer to convert the project to Maven nature?
Generally, using the "clean" option on any tool will delete files and folders that are considered "secondary", i.e. they can be recreated easily. That might include some config files in this case.