title: How do I enable on-the-fly compilation of JSPs in Wildfly 9?
body: <p>I’m using Wildfly 9.0.0.CR2.  How do I enable on-the-fly compilation of JSPs?  I found this configuration in another thread</p>
  
  <pre><code>    &lt;subsystem xmlns="urn:jboss:domain:web:1.4" default-virtual-server="default-host" native="false"&gt;
          &lt;configuration&gt;
              &lt;jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true"/&gt;
          &lt;/configuration&gt;
      &lt;/subsystem&gt;
  </code></pre>
  
  <p>but alas, it doesn’t work, result in gin the below exception when I restart my JBoss server …</p>
  
  <pre><code>    14:23:05,224 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085: Failed to parse configuration
          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
          at org.jboss.as.server.ServerService.boot(ServerService.java:350)
          at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:271)
          at java.lang.Thread.run(Thread.java:745)
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[442,2]
  Message: Unexpected element '{urn:jboss:domain:web:1.4}subsystem'
          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:108)
          at org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
          at org.jboss.as.server.parsing.StandaloneXml.parseServerProfile(StandaloneXml.java:1199)
          at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:457)
          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:144)
          at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:106)
          at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
          at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
          at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
          ... 3 more
  </code></pre>