Hi David, Hope you are well. Sorry to hear that you are unable to use Glassfish 6.0.0 with NetBeans 12.3. It seems to be working okay for me. I have been using it for testing over the past few months without issue. Just to be sure, I loaded the latest Eclipse Glassfish 6.0.0 into a fresh install of NetBeans 12.3 today and started it up without issues. I wonder if there is not some other odd configuration issue occurring which is causing the error message on your machine.
Can you please try to use a fresh installation of NetBeans without using your existing userdir (do not import settings), and see if that works for you? Thanks Josh Juneau juneau...@gmail.com http://jj-blogger.blogspot.com https://www.apress.com/us/search?query=juneau <https://www.apress.com/index.php/author/author/view/id/1866> On Sun, Mar 28, 2021 at 10:11 AM David Gradwell <da...@gradwell.com> wrote: > Hi, > > > > I’m trying to use Glassfish 6.0.0 as my web server and to debug servlets > using NetBeans 12.3. > > > > ~/glassfish6/bin/asadmin start-domain domain1 > > Works and other command line stuff works fine. > > > > Trying to start the glassfish server by right clicking}: > > > > > > Gets > > > > [image: Graphical user interface, text, application, email Description > automatically generated] > > > > Looking at the log file tells me nothing. > > > > Is anyone else trying to use Glassfish 6.0.0 and if so, can they get it to > work with NetBeans. (I’ve tried other 12.n versions – no difference). > > > > Annoyingly I can start a Payara server fine, but am having trouble using > jakarta.servlet.Servlet with Payara instead of javax.servlet.Servlet; > > > > I get: java.lang.ClassCastException: > com.gradwell.RemoteSQLoverHttpServlet.RemoteSQLoverHttpServlet cannot be > cast to javax.servlet.Servlet > > > > > > All help welcome ! > > > > Regards > > > > David > > > > >