netbeans 12.0 spring boot plugin missing - spring

Good day,
My Netbeans 11.3 auto updated to Netbeans 12.0 recently and i cannot find the spring boot plugin, is there a way to install spring plugin manually?

I guess you talk about this plugin: https://netbeans-vm.apache.org/pluginportal/catalogue/?id=4
In order to install it manually, you can go to the GitHub release page directly (https://github.com/AlexFalappa/nb-springboot/releases) and download the .nbm file.
Then open NetNeans 12, and go to Tools > Plugins. In the new window, go to "Downloaded" tab, click "Add plugins..." and provide the .nbm file you just downloaded :
Done!
You should now see the NB SpringBoot plugin in the "Installed" tab, under "User installed plugins" category :

Related

'boolean com.ibm.icu.text.UTF16.isSurrogate(char)'

An internal error occurred during: "Requesting Java AST from selection".
'boolean com.ibm.icu.text.UTF16.isSurrogate(char)'
"Requesting Java AST from selection"
I installed Spring Tool Suite in Eclipse. Although I uninstalled the tool,the error is still there. What should I do?enter image description here
--Solution 1 : Go to : window > preferences > java > Editor > mark occurrences and desable : mark occurrences ...
--Solution 2 (deeply recommended) : if you need to use mark occurnces, use eclipse 2022-12 and this will fix the error. Then choose the type of ide that you want, if you use JEE dowload Eclipse IDE for Enterprise Java and Web Developers 2022-12
I was having this exact issue, but was happening even when opening a .java file.
While disabling Mark Occurrences worked I do depend on the feature enough to still want it enabled. In my search, while uninstalling every plugin one at a time to test them.
I uninstalled the plugin:
m2e-wtp - Maven Integration for WTP 1.2.1.20150819-2220
and after this, i no longer received the error. If you have this plugin installed try uninstalling it.
Eclipse Info:
Version: 2022-06 (4.24.0)
Build id: 20220609-1112
Installed Plugins:
Buildship Gradle Integration 3.0
Darkest Dark Theme with DevStyle 2033.6.13a
EGradle Editor 3.1.0
Groovy Development Tools 4.7.0 RELEASE
JAutodoc 1.15.0
m2e-apt 1.5.4
spring tool suite--- select window option ion tab and than preferences > java > Editor > mark occurrences and disable mark occurrences in checkbox

Spring Dev Tools not Restarting After Making Changes in IntelliJ

I am building some backend APIs using Spring Boot and Kotlin.
My build tool is Gradle
My IDE is IntelliJ Ultimate Edition on a Windows Machine
I have included the spring boot dev tools into my build.gradle.kts dependencies as follow:
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
}
But whenever I make a change while the server is running, it doesn't automatically reflect the changes.
Is there anything else I need to do?
Thanks
Enable “Build project automatically” option in compiler settings.
1 - You need to enable the “Make project automatically” option:
You can find it in Settings –> Build, Execution, Deployment –> Compiler
2 - Changes in IntelliJ registory:
Go to Cmd+Shift+A (Mac) or Ctrl+Shift+A (Windows) -> Registry Enable compiler.automake.allow.when.app.running

Run Corda project on IntelliJ

I'm using a MacBook Air OS X 10.9 (Mavericks) and IntelliJ IDEA, but the IDE won't let me execute the test "ProjectImportedOKTest" which is in src/test/java/java_bootcamp/. I followed the exact same steps of this video:
https://www.youtube.com/watch?v=ZgKxjwImKAs&index=3&list=PLi1PppB3-YrVq5Qy_RM9Qidq0eh-nL11N
But for some reason my green arrow to run the test is always disabled. It could be something with the configuration option in the top left of IntelliJ, which I left blank or even something with gradle.
Thanks a lot!!
You can invalidate the caches of the intelliJ by using the option
file -> invalidate caches/Restart.
It helped for me.
There are several things you could try.
Ensure that your source java or kotlin folder is marked as "Sources Root". Do this by right clicking the folder and selecting "Mark Directory as"
Go to view -> Tool Windows -> Gradle and hit the refresh icon
Try opening the project a different way, such as importing the project or just opening the project
Rebuild the project and ensure there are no errors
Go to File -> Project Structure and ensure Java 1.8 is set as the Project SDK
Got to File -> Settings 0> Build, Execution, Deployment and select Gradle. Ensure Gradle JVM has Java 1.8 and that "Use default gradle wrapper" is selected.
Again under Settings and Build, Execution, Deployment, go to Compiler -> Kotlin Compiler and check that Target JVM version is set to 1.8
I ran into the same problem running on Windows and ran into this question trying to find the solution. It turns out Gradle wasn't installed on my machine and that was causing the problems.
According to the Corda Docs - "Gradle - we use 4.10 and the gradlew script in the project / samples directories will download it for you."
However, I installed from the Gradle website here - https://gradle.org/install/#with-a-package-manager -and configured it in the PATH variable. After doing so, my green arrow was enabled and I was able to run the test successfully.

README.md for MAVEN project in NetBeans

I want add README.md file for in will be visible and editable in NetBeans 8.2 in Maven Java project type, But when the file lies in th project root it still unvisible in the IDE...
Interestingly enough there is a plugin for it.
See at github or at netbeans portal
To install it go to Tools -> plugins -> Available Plugins and search for readme. Choose plugin called Display readme files in project view. You can change which files to show on the Tools -> options -> Miscellaneous->Display more files panel:
UPDATE 2022:
Currently, the old NetBeans portal unavailable because it was decommissioned. You can download plugin from here and install manually. To install it manually, download the file readmeinprojectview-1.6.0.nbm then go to Tools -> Plugins -> Donwloaded -> Add Plugins. Then select the plugin and click Install.
Because readme.md is not part of project code. It is a descriptor file for marking down specific lines and paragraphs to highlight project details and it is used to generate the html summary you see at the bottom of projects on pages like GitHub.
It will be visible in the Files tab.

how can i set the jdk in intellij 9 on mac

I have a project on intellij and now i wanna run it on intellinj 9 on mac. when i run the project i get the error -> "the JDK is not specifiedfor module "XXXXX" specify the JDK in Configuration project". when i go there in the dependencie for module SDk there is No Project JDk. and when i click on new it is just JSDK, Intellij idea plugin SDK,Flex SDK,AIR SDK, Flexmojos SDk and Mobile SDK
What can I do?
Refer to the documentation. You need to add new JSDK with the following path:
/System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Home
Agreed. Going one step further, I would recommend setting up the different sdk's explicitly for Java 5, 6, etc.
On OS 10.6, use:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

Resources