-
Notifications
You must be signed in to change notification settings - Fork 2k
Description
Jetty version(s)
12
Jetty Environment
My question was answered by filing a ticket: <!-- Applicable for jetty-12 only, choose: core, ee8, ee9, ee10, ee11 --> This (ticket template) is the only place I've found documentation so far on what an environment is!
Java version/vendor
All
OS type/version
All
Description
java.lang.IllegalStateException: No environment configured
at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:199)
This is a strange error that I encountered when migrating from 11 to 12. "environment" wasn't found on the migration guide, and setEnvironmentName has no javadoc. I had instantiated Shiro environments, but still this error persisted. I couldn't figure out how to create an environment until I went to file this ticket and it asked for the environment with a list of them. This may be obvious to people more enmeshed in the Jetty/EE world, but it's not obvious to casual users like myself. Document at least the javadoc on the method, and ideally more about what a Jetty environment actually is.
How to reproduce?
Look for the (missing) documentation.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status