Problem in running a project with aspectJ in IntelliJ IDEA 2022.2.3 (Community Edition) - intellij-idea

I am trying to run a project with aspectJ, rather than Java, in IntelliJ IDEA. I had done it before by simply putting "aspectj-1.9.6" in a "Lib" folder and setting the folder "as Library". But I tried it again today and it is not working. I think it might be because I have updated my IntelliJ to version "2022.2.3". I saw in this link that for intelliJ version "2021.1", one should select "ajc" as the project compiler in IntellJ. But it seems that there is no such compiler option in IntelliJ version "2022.2" (as I looked at this link and also searched in this link).
I also tried to install and enable "AspectJ weaver" plugin, but I encounter the following error: "Plugin 'AspectJ weaver' failed to initialize and will be disabled. Please restart IntelliJ IDEA.". Someone has had the same problem in this post, but the answer doesn't work for me, as it refers to this link, which is not compatible with IntelliJ version 2022.2.3:
So, I wonder whether aspectJ is not supported any more in IntelliJ?
Does any one has any suggestion that I could use it with this version of IntelliJ? I do really appreciate any help.
Thanks in advance

IntelliJ IDEA is compatible with AspectJ. I am running the plugin on 2022.2.3 without any problems. But I use IDEA Ultimate, you use Community. Did you notice this in your screenshot?
Compatible with IntelliJ IDEA Ultimate

Related

IntelliJ Error:Kotlin: Module was compiled

I have used IntelliJ IDE just for Spring Boot project. Strong NOTE that I have not used any Kotlin project. But, today, I have an error below. Any professional person. Please, HELP to solve this issue! Thanks,
Error:Kotlin: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.13.
I ran into the same problem, and my solution was:
If you do not use Kotlin in your project, you can solve the problem by turning off the IntelliJ IDE plugin.The operation is as follows:
idea menu:File>Setting>Plugins
Operation flow chart
According to solution from: https://stackoverflow.com/a/71093698/13248380
Try going to Build menu and choose Rebuild project.

How to add a break point in Intelij IDEA to debug Rust code

I have installed Intellij IDEA on ubuntu with Rust plugin.
How to add a break point in Intellij IDEA to debut RUST code.
Do I need any additional plugin?
Debugging Rust code is available in CLion, IntelliJ IDEA Ultimate, PyCharm Professional, and GoLand. For IntelliJ IDEA Ultimate, PyCharm Pro, GoLand it is required to install the Native Debugging Support
plugin.
See plugin's documentation for more information: Debugging.
no need for extra plugins just add them like you would do in java (left click right of the number). but in order to debug (apply them) you'll need Native Debugging Support (i believe the ide autosuggests this plugin on the first debug run)

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.

go lang plugin for Intellij IDEA 14.0.x

Is it possible to setup go language pluing for Intellij IDEA 14.0.3 version?
I tried to download the binary plugin (jar) from https://plugins.jetbrains.com/plugin/5047?pr=idea but the version 0.9.15.3 listed here is old and does not recognize GOROOT and GOPATH.
I tried to build the latest plugin using sources from https://github.com/go-lang-plugin-org/go-lang-idea-plugin using Intellij but failed to setup the SDK.
Is there a latest binary version of the go lang plugin available?
Update to IDEA 14.1+ or use the IntelliJ Community.
Original answer:
You can use the free version of IntelliJ Community with the latest version of the plugin and everything should work fine. Also, Android Studio for example is compatible with the plugin as well.
Unfortunately the plugin has some internal dependencies which makes it hard to port back and maintain for multiple IDEA versions. Hope this helps
It might be not the exact answer your are looking for but their is a separate IDE for go developer . it has some unique features you must try GOLAND First month is free.
I also faced up this problem couple days ago. You can download nightly version of go plugin from this link.
You must install this plugin via browse your download folder not repository

How to resolve a conflict in JetGradle on IntelliJ IDEA 11.1.2?

I am new to the Gradle integration JetGradle in IntelliJ IDEA 11.1.2 and currently I ran into a conflict with a compile time dependency.
Currently I do not know how to solve this conflict since IDEA does not provide me more informations than this little screenshot. Do you ran into a similar problem and were able to fix it? Any hints are appreciated.
Update: I have found out that IntelliJ IDEA is somehow unable to attach the joda-time-2.1.jar to the joda-time-2.1 library .
If I then manually add the JAR the conflict is successfully resolved. Is there a way IntelliJ can tell my why it does not add the JAR?
Yes, the problem is that the library is defined either in gradle or IDE but the jar is not attached to it at the IDE side.
AFAI there is no GUI at the IDE side that helps to resolve this situation. Please create a dedicated feature request at the tracker.
Denis