License issue with JRebel and Intellij Idea - intellij-idea

I am using JRebel with Intellij Idea in Ubuntu. I have activated the plugin by pasting the code obtained from the website and it worked perfectly, but when i restart my IDE it is asking for the license again and i have to paste the license code each and everytime. How to solve this problem?
EDIT:- jrebel.lic file is not being created in ~/.jrebel/ folder

I'm posting this workaround for those who are struggling with this problem.
Uninstall the jRebel plug-in from the IDE.
Install standalone jRebel from here
Now add the following in the VM options when running the program. -javaagent:/opt/ZeroTurnaround/jrebel/jrebel.jar
This is how i solved my problem, i don't know whether it will work for others too.

Related

IntelliJ Idea red Spring and Lombok annotations

I have a problem with IntelliJ Idea 2020.1 Ultimate Edition. It shows Lombok and Spring annotations and imports in red. The project compiles, I can run tests. I did some googling. I tried to reimport maven projects and go to File->Invalidate Caches/Restart. Then I deleted Idea system directory - it does not help. Before it worked fine, I do not know why it started doing this. Can somebody help me out?
I am not sure it is a correct solution, but it worked for me. I just reinstalled IDEA. It was faster that talk to IDEA support trying to figure out what is the cause of the issue
I got the same problem and fixed it from this way. First download lombok dependency from spring.
Then go to IDE and paste it to pom file and run. It isn't fix your problem. Go to Choose this and clear cache. Then restart.
If isn't fix your problem then go to this site and download relevant version of lombok for your IDE. https://plugins.jetbrains.com/plugin/6317-lombok
enter image description here
Then it will download a file. Then go to where you install the IDE and go to this path and paste that lombok java file.
IDE path
After trying these methods error was fixed. Thank you.

Nightly Glassfish on Intellij

I'm having trouble with changing GlassFish version to Nigthtly. My Intellij says that it doesn't recognize it as a valid GlassFish home. Could somebody tell me step by step how to get through this?
Soulution:
go to glassfish4/glassfish/lib/install/applications/__admingui/WEB-INF/lib/
change jar name to console-4.1
Although this works I cannot get it to work with the newest version of nightly build.
My mistake was to assume that it was Intellij specific problem, so I installed Netbeans and tried changing GlassFish there and the same problem occured, but this time I knew there's like million more questions on the internet about Netbeans than Intellij and of course I found a solution.

Unable to to load Tomcat plugin in IntelliJ

I am running IntelliJ 15 Ultimate and trying to enable the Tomcat plugin (which for some reason was disabled). However, IntelliJ does not seem to let me re-enable it.
What I have tried is
Re-install IntelliJ 15, and I chose to replace the old version, but the problems with the plugin seem to be persistent
Deleting /Applications/IntelliJ IDEA 15.app/Contents/plugins/Tomcat between the re-installs to ensure it was not being re-used, but with no avail
Verifying that I have a licensed/paid version of IntelliJ 15 Ultimate edition
At this point I'm not sure what to do, as a re-install clearly did not work. Are there any directories or files I could manually change/remove?
I am using OS X version 10.11.2 is that matters.
You need to enable the "Java EE: EJB, JPA, Servlets" plugin as well. The message is displayed because that plugin is not enabled, and the Tomcat plugin depends on it.
The only solution I could come up with was to entirely wipe IntelliJ and any config files it created as described in this answer.
Upon installing IntelliJ once again, the Tomcat plugin was enabled and was able to create a run configuration for that! Maybe not a fix per se, but it works as expected again.

Setting Line Breakpoints in Intellij 15.02 doesn't work

Since yesterday I'm on IntelliJ 15.02 and cannot set any line breakpoints any longer. Neither by clicking on the side bar, nor by "Run -> Toggle Line Breakpoint". Is that a Bug in IntelliJ? Or is there any way to disable / enable this feature? I appreciate any help.
This seems to be an issue with the python plugin. I uninstalled the python plugin, and the line breakpoints were available again. Then I reinstalled the plugin and still everything is fine. I use the python plugin because I have Jython scripts that I call from the Java code.
The same happened to me but I did not have the Python plugin installed.
I tried (with no success):
Rebuilding the project
Invalidating caches
Restarting IntelliJ
Re-installing IntelliJ
Fortunately, disabling the PHP plugin did the trick for me.
Hope this helps someone.
EDIT (Feb. 2nd, 2016) This issue was fixed in IntelliJ 15.0.3: https://youtrack.jetbrains.com/issue/IDEA-151085

eclipse scala plugin, scala project type missing

After installing the scala eclipse plugin on helios the scala project type is missing, there is no scala options in the preferences and no other indication that installation has worked. Then when I check 'what is already installed' in the install new software window I can see that the plugin is there....
I can replicate the same problem across several machines in the office however I'm able to install on my own machine at home without a problem....
anyone got any ideas/tips on how to troubleshoot this ??
thanks in advance
Looks like not everything was installed properly.
Before figuring out what is going on, try answering these questions:
In preferences, look for JDT Weaving. Is it enabled?
Any errors in your error log?
What version Eclipse are you running?
For your office machines is Eclipse installed in a read-only directory or C:\Program Files?