how to install glassfish tools for glassfish 2.1 server in eclipse - glassfish-2.x

in the new versions of eclipse. glassfish server tools found in the eclipse market. only support glassfish 3.1 and above.
there is no support for glassfish 2.1 in glassfish tools downloaded from the market for any version of eclipse. I have tried several without success.
I have to maintain glassfish 2.1 jee5 code.

found there is oracle archive for bundles of all Oracle tools for eclipse.
the last version that supports glassfish 2.1 - is 12.1.1.2.1 - March 2013.
https://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-archive-1716547.html
I downloaded oepe-12.1.1.2.1-kepler-repository.zip
then in to the new version of eclipse 2018-09 - 4.9 I installed from the repository
only glass fish tools - and it worked

Related

Package Microsoft.AspNetCore.Components.WebAssembly 5.0.0 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1)

I created a hosted WASM Blazor app using the Blazor client template in Visual Studio. I am trying to upgrade the Microsoft.AspNetCore.Components.WebAssembly package in the Client project from 3.2.1 to 5.0. I get this error:
Package Microsoft.AspNetCore.Components.WebAssembly 5.0.0 is not compatible with netstandard2.1 (.NETStandard,Version=v2.1). Package Microsoft.AspNetCore.Components.WebAssembly 5.0.0 supports: net5.0 (.NETCoreApp,Version=v5.0) BlazorApp1.Client
The client project is targeting .NET Standard 2.1. I am not clear about the difference between targeting .NET standard and targeting .Net Core. I thought .NET Core 5.0 implements all of .NET Standard 2.1. Only .NET Standard target options are available.
How does one upgrade that package?
Also, there's no version 5.0 of Microsoft.AspNetCore.Components.WebAssembly.Build. Did the package get obsoleted?
Although you can reference netstandard2.1 packages in a .NET5 application (targeting net5.0), to upgrade your Blazor app to 5.0.0 (.NET5) you also have to change target framework to net5.0 since it depends on it, as you have noticed.
But other than this, there are more changes to be made to get it fully upgraded. The MS Docs on how to Migrate from ASP.NET Core 3.1 to 5.0 (as Brian already pointed out) should help get the job done.

Why I can't create new grails application in Netbeans 8.2?

OS: Windows 10
JDK: jdk1.8.0_65
IDE: Netbeans 8.2
Steps I had taken:
1. I had installed Netbeans, selecting the ALL column, meaning it can support Groovy or the grails application.
2. I also had installed the latest version of Grails which is the grails-3.3.5.
3. After installing everything, I opened Netbeans.
STEPS I HAD TAKEN IN NETBEANS
File > New Project > Groovy > Grails Application > then I clicked next.
After that I had clicked the Configure Grails... button. Then I copy pasted the file path of my grails home directory (in my case that is C:\Program Files\NetBeans 8.2\grails-3.3.5) under the textbox of Grails Home then clicked on OK.
The problem here is that I cannot create a new project. It kept on displaying this message box: "Unexpected error occured while creating the application. See output window for more details."
And there it shows the error: "Specifiy an application name or use --inplace to create an application in the current directory"
What should I do? Please help me. I need this for my job application's exam. Thank you so much.
I get exactly the same error as you when creating a Grails 3.3.5 project in NetBeans 8.2 on Windows 10. This is because of a longstanding bug in NetBeans: Bug 258407 - Error when creating a Grails 3.1.x project, which also impacts more recent releases of Grails.
Although that bug has Status: VERIFIED FIXED, unfortunately the fix was not applied to release 8.2 itself ("...this bug is fixed in development builds not 8.2"). You have two possible workarounds:
Install a DEV build of NetBeans 8.x which contains the fix.
Install the beta release of NetBeans 9.0 which contains the fix.
Option 1: Using a DEV release of NetBeans
Download the most recent nightly Dev build of NetBeans 8.2.
Activate Groovy and locate Grails 3.3.5 in the same way as you did on NetBeans 8.2.
You can then successfully create your Grails application using the Groovy > Grails Application project wizard, and run it:
Option 2: Using a beta release of NetBeans 9.
Download and unzip NetBeans 9 beta from the Apache NetBeans 9.0 Beta web site.
Start NetBeans 9 beta and install the Groovy/Grails plugin:
Locate Grails 3.3.5 in the same way as you did on NetBeans 8.2 (Tools > Options > Miscellaneous > Groovy > Grails Home).
You can then successfully create your Grails application using the Groovy > Grails Application project wizard, and run it:

Does Spring Tools Suite 3.8.3 support groovy grails?

i want to develop with groovy/grails and need a IDE. I found older versions of STS supported groovy/grails. Does Spring Tools Suite 3.8.3 support groovy/grails?
Grails support in STS (Groovy/Grails Tools Suite, actually) ended in version 3.6.4 (source).
You need only groovy support in your IDE, as starting from Grails 3.0 all project are plain gradle projects

Unable to add struts 2 support to netbeans 7.4

this plugin requires plugin Editor Library to be installed.
The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2) but only 3.46.1.22.43 (of release version different from 2) was found.
The following plugin is affected:       Struts2 Support
Now i have resolved another plugin for Struts 2 support. This plugin is called Netbeans Struts2 Plug-in and its a re-pack for the plugin i was trying to install. Though this plugin in not certified but it is working good. The developers have tested it on netbeans 7.4 but i'm using it not netbeans8 and i have not suffered any issues.
I have found another way, that is using maven. That is also a good way but i would not recommend it if you have slow internet connection.

What is the newest version of MyFaces that can be used with IBM WebSphere 7.0

I'm using IBM WebSphere 7.0 with MyFaces 2.0.7 installed as shared library.
Because there are issues with PrimeFaces (for example, p:messages autoUpdate not working) I'm considering the upgrade to newer version (which is not trivial, because this must be the team decision in corporation).
So, my question is, which is the newest version of MyFaces that will work with IBM WebSphere 7.0? The newest version is for now 2.1.10, but according to the answer to the question Can JSF 2.0 be used with Websphere application server version 7.x MyFaces versions starting from 2.1 will not work with WebSphere 7.0.
Have someone managed to run version 2.1.x? If so, which version, and was something additional to do? As I said, I've successfully configured shared library, similar to solution from article like that: http://wasbehindtheglass.blogspot.co.uk/2011/11/myfaces-20-and-websphere-application.html
The MyFaces Core 2.1.10 works well with IBM WebSphere 7.0.
Release notes can be found at MyFaces Core 2.1.10.

Resources