I have a quick look at the Spring Boot 2.0 Migration Guide. There are a lot of changes. It would be hard to do an upgrade on Spring Boot in JHipster. What is the JHipster roadmap for Spring Boot upgrade?
The migration to Spring Boot 2 is already done, in our current master branch. You can test it, by following this post: JHipster 5 availability
Or you can wait, there should be a beta release for JHipster 5 soon.
Related
I keep getting this error when I try to run the pipelines for my azure backend functions:
[error]C:\Users\VssAdministrator.nuget\packages\microsoft.net.sdk.functions\1.0.27\build\netstandard1.0\Microsoft.NET.Sdk.Functions.Build.targets(41,5): Error : It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.
It's a pretty old program, but yesterday was the first time that the build has failed and I don't know how to fix it. It happens both in the develop and main branch so I'm guessing it's a change from Azure.
As documented in this GitHub issue .NET Core 2.1 has been removed from all build agent images.
Possible impact
If your project depends on a pre-installed .Net 2.1 it can be broken.
You can try to use the setup dotnet task to explicitly install .NET Core 2.1.
- uses: actions/setup-dotnet#v1
with:
dotnet-version: '2.1.x'
Please be advised .NET Core 2.1 has been out of support since August 21, 2021 (see .NET and .NET Core Support Policy). An upgrade to a currently supported version like .NET Core 3.1 or higher should not be a lot of work and is well worth the effort.
I have created Devops project in Azure it is using ASP.NET core 1.x version.
I have updated this project to ASP.NET core 2.x after updating I am getting build issue in my Vsts.
Do I need to change any setting in CI?
In your build definition on VSTS, inside: Use .NET Core Installer step, you will need to change the version of .NET Core from 1.0.4 to whichever version of .NET 2.X you are using.
So for example you could change that to 2.1.105 which is the latest version of 2 and will build any current 2.x version.
I've successfully setup a spring-boot-groovytemplates and actuator project.
However, when adding springloaded to buildscript/dependencies block, I get the following stracktrace when recompiling in IDEA
java.lang.NoSuchFieldException: classCache
at java.lang.Class.getDeclaredField(Class.java:1918)
at org.springsource.loaded.agent.SpringPlugin.clearCachedIntrospectionResults(SpringPlugin.java:162)
at org.springsource.loaded.agent.SpringPlugin.reloadEvent(SpringPlugin.java:127)
at org.springsource.loaded.TypeRegistry.fireReloadEvent(TypeRegistry.java:1767)
at org.springsource.loaded.ReloadableType.loadNewVersion(ReloadableType.java:405)
at org.springsource.loaded.TypeRegistry.loadNewVersion(TypeRegistry.java:845)
at org.springsource.loaded.agent.ReloadableFileChangeListener.fileChanged(ReloadableFileChangeListener.java:51)
at org.springsource.loaded.agent.Watcher.determineChangesSince(FileSystemWatcher.java:235)
at org.springsource.loaded.agent.Watcher.run(FileSystemWatcher.java:219)
at java.lang.Thread.run(Thread.java:695)
Any clues?
You don't mention which versions of Spring Framework or Spring Loaded you're using, but I would guess that you're trying to use Spring Loaded 1.2.0 with Spring Framework 4.1. It looks like you've hit this bug in Spring Loaded. You should upgrade to Spring Loaded 1.2.1 as it contains a change that fixes the problem and makes it compatible with Spring Framework 4.1.
Can someone please help me out with the Oracle ADF faces application which I'm trying to deploy on Websphere 7.0? Do I need to apply any fixpacks on WAS? I'm trying to migrate this project from Websphere 6.1 to Websphere 7.0.
In Websphere 6.1, after removing jsf implementation jar files and providing them as part of WEB-INF\lib and changing the classloader to PARENT_LAST, the application was working fine.
For websphere 7.0, I can't seem to get the application working. It always picks up the Sun's JSF implementation. I've also tried the shared library concept but to no success.
Regards,
Zahir
The Oracle documentation lists a certification for WAS 7.0.0.13 ND. So you need FixPack 13 or later.
As the WebSphere Application Server 7 is a full blown JEE5 server it requires/has JSF 1.2 support. You can switch between the built in Sun and MyFaces implementation if required.
You should probably make sure that the ADF version you are using is certified for WAS 7. The ADF release notes tell that ADF supports JSF 2.0. The WAS 7 only comes with JSF 1.2. Exchanging the JSF version with placing the JSF 2 libs into WEB-INF/lib works well for our projects in conjunction with the 'PARENT_LAST' classloading policy. Make sure that you set the policy either for the whole application or for both the application and the web module.
ADF Faces is a Java based framework and it will run on WebSphere but, you have to add the required libraries first. The easiest way to prepare WebSphere to run ADF Faces application is through JDeveloper. Alternatively, you can google Oracle JRF (Java Runtime Framework) and install that on your WebSphere, before running the ADF Faces application.
hi all
does sonar support .net 4?
if so how can i integrate sonar with cruisecontrol.net (ccnet) with out using maven o anything else.just sonar and ccnet..
thanx
Take a look at the wiki page mentioned before and if you encounter any trouble, feel free to register to the user mailing list and ask for help (see http://www.sonarsource.org/support/support/).
For now, even if sonar 2.6 may use ant or a simple command line to trigger the analysis on a java project, maven is mandatory for a .net project. This will change pretty soon. I am working with the guys from sonarsource to give birth to a new "C# plugin"... First version probably at the beginning of this summer.
For now, only solution I see to integrate sonar with ccnet is to launch a maven command line from ccnet.
I documented my experience setting up Sonar with my C# projects. I used TeamCity instead of CCNet, but that's a small portion of the overall setup, so should be straightforward to configure. http://www.wrightfully.com/setting-up-sonar-analysis-for-c-projects/