java.lang.NoSuchMethodError: org.apache.jasper.xmlparser.ParserUtils.setSchemaResourcePrefix(Ljava/lang/String;)V

Oracle Community | luc_peuvrier | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    usage of embedded glassfish 3.1.1 for gwt devmode execution

    Oracle Community | 5 years ago | luc_peuvrier
    java.lang.NoSuchMethodError: org.apache.jasper.xmlparser.ParserUtils.setSchemaResourcePrefix(Ljava/lang/String;)V

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.jasper.xmlparser.ParserUtils.setSchemaResourcePrefix(Ljava/lang/String;)V

      at com.sun.enterprise.web.WebContainer.postConstruct()
    2. Glassfish
      WebContainer.postConstruct
      1. com.sun.enterprise.web.WebContainer.postConstruct(WebContainer.java:408)
      1 frame
    3. Inversion of Control / Autodependency mechanism
      AbstractInhabitantImpl.get
      1. com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
      2. com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
      3. com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
      4. com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
      5. com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
      6. com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
      6 frames
    4. Private APIs of Glassfish
      EngineInfo.getContainer
      1. org.glassfish.internal.data.EngineInfo.getContainer(EngineInfo.java:93)
      1 frame
    5. Kernel Classes
      EmbeddedDeployerImpl.deploy
      1. com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:957)
      2. com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:667)
      3. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:368)
      4. com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
      5. org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:193)
      6. org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:142)
      6 frames
    6. com.totsp.gwt
      Glassfish.start
      1. com.totsp.gwt.glassfish.Glassfish.start(Glassfish.java:91)
      1 frame
    7. GWT dev
      DevMode.main
      1. com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
      2. com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1068)
      3. com.google.gwt.dev.DevModeBase.run(DevModeBase.java:811)
      4. com.google.gwt.dev.DevMode.main(DevMode.java:311)
      4 frames