This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 251284, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 8.1 User Comments: GUEST: plugin for glassfish 2 on netbeans 8.1 Stacktrace: java.lang.NoSuchMethodError: org.netbeans.modules.j2ee.sun.share.configbean.SunONEDeploymentConfiguration.<init>(Lorg/netbeans/modules/j2ee/deployment/devmodules/api/J2eeModule;)V at org.netbeans.modules.j2ee.sun.ide.j2ee.ModuleConfigurationImpl.<init>(ModuleConfigurationImpl.java:104) at org.netbeans.modules.j2ee.sun.ide.j2ee.ModConFactory.create(ModConFactory.java:63) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:805) at org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl$1.run(ConfigSupportImpl.java:784) at org.netbeans.modules.openide.util.DefaultMutexImplementation.readAccess(DefaultMutexImplementation.java:252) at org.openide.util.Mutex.readAccess(Mutex.java:218)
Created attachment 158248 [details] stacktrace
This seems to be caused by a conflict between the legacy, non-supported, GlassFish 2.x/3.x plugin and the built-in Java EE Server-plugin. I have to maintain a legacy application using GlassFish 2.1.1. It is very unfortunate that the Java EE Server-plugin only supports GlassFish version 3.x and 4.x. Theoretically it would seem rather trivial to incorporate the legacy support in the official plugin. There is no fix or work-around to be able to control a legacy GlassFish from NB’s Services tab. But in order to be able to open projects again you need to remove the old plugin (it lives in your ~/.netbeans folder or, under OS X, within the NB App [poor choice]).
Created attachment 158741 [details] stacktrace Creating new web application, using GlassFish v2
Vovtz talks about a conflict between two plugins. I assume the GlassFish plugin Vovotz refers to is the one named: "GlassFish v1,v2.x" Which resides in the file: org-netbeans-modules-j2ee-sun-appsrv81.nbm The one Vovotz refers to as "Java EE Server", I'm guessing is probably "Java EE Base" ? Right now my priority is to build a web application for GlassFish v2.1.1 so I would be happy to remove any plugin that's in conflict with this objective. Sadly I suspect that removing "Java EE Base" would not do me any favours. Any ideas ? Go back to an earlier version of NetBeans ? Get an earlier version of "Java EE Base" ?
NetBeans 8.1 definitely worked OK before with the old plugin "GlassFish v1,v2.x". My previous laptop still has this configuration working OK under Windows 7 (32 bit).
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=222258