Having trouble using Spring with Java - spring

I'm trying to use Spring with Intellij but I'm having major issues getting started. Here's what I've tried, and what's happened:
I used this documentation about getting started and enabling spring support: https://www.jetbrains.com/idea/help/enabling-spring-support.html
It tells me to go to plugins and enable Spring Support, but spring support does not show up in the list of available downloads.
I uninstalled Intellij and started over from scratch. When I installed, I made sure to check the Spring plugins option, but that didn't actually do anything and Spring was not installed.
I tried several times again to troubleshoot the issue, and only ran into documentation that was kind of complex for my level of skill. I'm really frustrated at this point: any help would be greatly appreciated!

Related

Why am I getting `java.lang.AssertionError: Built-in class kotlin.Any is not found` when using `copy` in TeamCity DSL?

Background
I'm trying to create some Teamcity configuration using Kotlin. I'm using a Maven in Intellij when testing the generation of the Teamcity, although I get the same result by using the command line.
Problem
A minimum example: https://gist.github.com/3761e6f3847db9f8f772c9e16663aaa9
To recreate the issue, use the command:
mvn teamcity-configs:generate
The error is:
[ERROR] Runtime error RootProjectId: kotlin.reflect.jvm.internal.impl.builtins.KotlinBuiltIns$3[113]: java.lang.AssertionError: Built-in class kotlin.Any is not found
Although I've taken steps to minimise the provided example, I'm no Maven expert and I'm not sure what else could have been shaved off the pom.xml file.
The problem seems to stem from an attempted use to copy (cf., docs) which seems to trip up Kotlin with some reflection issue. Remove the copy and the generation of the config works fine.
Research
There are a few places around where this is discussed (e.g. here and here), but I can't find any that match the issue I'm experiencing or suggest a solution which fixes it for me.
The most interesting one is this one, which is not relevant as it's regarding moving from Kotlin versions 1.3.x to 1.4.x, however, the discussion has a little on the interdependence of kotlin-stdlib[...], kotlin-reflect and Java itself, from JetBrain developer "Udalov" (direct link to comment). The details are over my head and may not be relevant here, but it's the most technical answer I've seen addressing this issue.
What I've tried
I've tried adding kotlin-reflect as an explicit dependency and making sure that kotlin-stdlib-jdk8 is present and correct. I've tried varying the Kotlin version from 1.3.70 to 1.3.72 to 1.4.32 with no change to the result.
Any help or insight on this would be appreciated, even if it's just to advance my understanding of this software stack.

How does the Spring Boot Project generate release notes?

Here are the release notes for Spring Boot 2.3.1
https://github.com/spring-projects/spring-boot/releases/tag/v2.3.1.RELEASE
I've searched everywhere in the Wiki, in Issues and in the code, but I can't find where these are being created.
Is this a manual process or automated in some way?
I'd love to take a similar approach in my projects but prefer not to do it manually if possible.
Does anyone know of any resources that describe how to generate release notes in this format with some level of automation?
hello if you look carefully in spring boot github repo, you will have this
spring-boot/ci/pipeline.yml
this is where they have their build/release workflow
and the file below is the script use to generate the github release note
https://github.com/spring-projects/spring-boot/blob/main/ci/scripts/generate-changelog.sh

The spring boot edit starters context menu option does not show up under rightclicking pom.xml

The spring boot edit starters context menu for downloading content to pom.xml automatically is not visible in my eclipse, although Spring Tool Suite is properly installed. Also. the Boot Dashboard for Development Tools will not show up.
Error: java.io.IOException: Unable to resolve plugin
"org.springframework.ide.eclipse.boot.dash".
What could this be, how do I solve this?
This is usually a hard-to-debug issue and probably caused by some incompatibilities among installed plugins. You can try to start up Eclipse/STS with the -clean option, this causes the runtime to re-evaluate bundle resolution (among other things), and in some rare cases that helps. But it doesn't help if there is a real underlying incompatibility. And that is hard to identify from the outside, we would need a lot more details to debug this.
I would recommend to download a ready-to-use STS distribution and go from there. It contains a full Eclipse JEE package plus the Spring IDE plugins pre-installed. I know that starting from a fresh install might cause additional work if you need additional third-party plugins being installed again, but it would at least give you a good starting point. And if the problem arises again after installing certain plugins, we would at least have a potentially reproducible path towards the issue that we could use to track down the issue on our end.
You may follow these steps -
Right click "pom.xml"
Select "Spring" item
Click "Add Starters"
For your reference,

STS Crash after project spring version upgrade 3 -> 4

Our application was using spring version 3.2.3.RELEASE and we decided to migrate it to 4.0.9.RELEASE.
After the upgrade we were unable to ever use STS again. When launch the workspace, STS stops responding after some time (5-30 min).
We tried downloading a STS new version, creating new workspaces, disabling all validations. Nothing worked so far but if we use a regular eclipse version we have no problems at all.
Does anyone have an idea on what could be the cause of this issue?
I would suggest to open an issue at https://github.com/spring-projects/spring-ide/issues and provide more details.
Especially interesting will be to capture a thread dump while STS is being unresponsive (using jps and jstack). Would be great if you could attach a few of them to the issue.
You also said that you ran a fresh STS installation (I assume STS 3.9.x) with a fresh workspace. So what exactly did you do before STS becomes unresponsive?

Grails 2.3.7 repository issues

I am having multiple issues trying to use grails 2.3.7 on a windows machine. It seems that many of the jars present in the dependencies for the grails plugins are not present.
The application is trying to access files from locations which are not valid.
If anyone has any idea, where am I going wrong please reply back.
Thanks a lot in advance
I was trying to do it from my office, where I have internet restrictions. It worked out when I tried it from home. Thanks anyway

Resources