Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by redhat19, 1 year ago
Cannot find annotation org.glassfish.config.support.Create with value _register-instance on method public abstract com.sun.enterprise.config.serverbeans.Server com.sun.enterprise.config.serverbeans.Servers.getServer(java.lang.String)
via Stack Overflow by mm1
, 5 months ago
Cannot find annotation org.glassfish.config.support.Create with value _register-instance on method public abstract com.sun.enterprise.config.serverbeans.Server com.sun.enterprise.config.serverbeans.Servers.getServer(java.lang.String)
java.lang.RuntimeException: Cannot find annotation org.glassfish.config.support.Create with value _register-instance on method public abstract com.sun.enterprise.config.serverbeans.Server com.sun.enterprise.config.serverbeans.Servers.getServer(java.lang.String)	at org.glassfish.config.support.GenericCrudCommand.getAnnotation(GenericCrudCommand.java:196)	at org.glassfish.config.support.GenericCreateCommand.postConstruct(GenericCreateCommand.java:90)	at com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)	at com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)	at com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)	at com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)	at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)	at org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:796)	at com.sun.enterprise.v3.admin.CommandRunnerImpl.getModel(CommandRunnerImpl.java:150)	at org.glassfish.admin.rest.generator.ResourcesGeneratorBase.commandIsPresent(ResourcesGeneratorBase.java:315)	at org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateCommandResources(ResourcesGeneratorBase.java:296)	at org.glassfish.admin.rest.generator.ResourcesGeneratorBase.generateSingle(ResourcesGeneratorBase.java:100)	at org.glassfish.admin.rest.LazyJerseyInit.generateASM(LazyJerseyInit.java:311)	at org.glassfish.admin.rest.LazyJerseyInit.getResourcesConfigForManagement(LazyJerseyInit.java:255)	at org.glassfish.admin.rest.adapter.RestManagementAdapter.getResourcesConfig(RestManagementAdapter.java:62)	at org.glassfish.admin.rest.adapter.RestAdapter.exposeContext(RestAdapter.java:455)	at org.glassfish.admin.rest.adapter.RestAdapter.service(RestAdapter.java:177)	at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:168)	at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:238)	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)	at java.lang.Thread.run(Thread.java:722)